CVE-2021-30124
CRITICALCVSS 9.8/10EPSS 3.05%
Last modified
CVE-2021-30124 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. The unofficial vscode-phpmd (aka PHP Mess Detector) extension before 1.3.0 for Visual Studio Code allows remote attackers to execute arbitrary code via a crafted phpmd.command value in a workspace folder.. EPSS estimates a 3.05% chance of exploitation in the next 30 days.
Description
The unofficial vscode-phpmd (aka PHP Mess Detector) extension before 1.3.0 for Visual Studio Code allows remote attackers to execute arbitrary code via a crafted phpmd.command value in a workspace folder.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vscode-Phpmd Project | Vscode-Phpmd | < 1.3.0 |
References
- https://github.com/sandhje/vscode-phpmd/commit/c462bf5c6f0160d0199855d5f8ed76be8d9beac0Patch, Third Party Advisory
- https://vuln.ryotak.me/advisories/25Third Party Advisory
- https://github.com/sandhje/vscode-phpmd/commit/c462bf5c6f0160d0199855d5f8ed76be8d9beac0Patch, Third Party Advisory
- https://vuln.ryotak.me/advisories/25Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-30124?
The unofficial vscode-phpmd (aka PHP Mess Detector) extension before 1.3.0 for Visual Studio Code allows remote attackers to execute arbitrary code via a crafted phpmd.command value in a workspace folder.
How severe is CVE-2021-30124?
CVE-2021-30124 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 3.05% probability of exploitation in the next 30 days.
How do I fix CVE-2021-30124?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-30118An attacker can upload files with the privilege of the Web S…9.8
- CVE-2021-30119Authenticated reflective XSS in HelpDeskTab/rcResults.asp Th…5.4
- CVE-2021-3012A cross-site scripting (XSS) vulnerability in the Document L…5.4
- CVE-2021-30120Kaseya VSA before 9.5.7 allows attackers to bypass the 2FA r…7.5
- CVE-2021-30121Semi-authenticated local file inclusion The contents of arbi…6.5
- CVE-2021-30123FFmpeg <=4.3 contains a buffer overflow vulnerability in lib…8.8
- CVE-2021-30125Jamf Pro before 10.28.0 allows XSS related to inventory hist…6.1
- CVE-2021-30126Lightmeter ControlCenter 1.1.0 through 1.5.x before 1.5.1 al…6.5
- CVE-2021-30127TerraMaster F2-210 devices through 2021-04-03 use UPnP to ma…7.3
- CVE-2021-30128Apache OFBiz has unsafe deserialization prior to 17.12.07 ve…9.8
- CVE-2021-30129A vulnerability in sshd-core of Apache Mina SSHD allows an a…6.5
- CVE-2021-3013ripgrep before 13 on Windows allows attackers to trigger exe…9.8
Are you affected by CVE-2021-30124?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
