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.
Conclusion & alert: CVE-2021-30124 is rated High Risk (69.5/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 3.05%). Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 2.74% | 3.05% | +0.31% |
| 2 | 2025-03-30 | 8.84% | 2.74% | -6.10% |
| 3 | 2025-03-29 | — | 8.84% | — |
Full EPSS history (15 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| vscode-phpmd_project | vscode-phpmd | < 1.3.0 | cpe:2.3:a:vscode-phpmd_project:vscode-phpmd:*:*:*:*:*:visual_studio_code:*:* |
| URL | Tags |
|---|---|
| https://github.com/sandhje/vscode-phpmd/commit/c462bf5c6f0160d0199855d5f8ed76be8d9beac0 | Patch Third Party Advisory |
| https://marketplace.visualstudio.com/items?itemName=ecodes.vscode-phpmd | Product |
| https://vuln.ryotak.me/advisories/25 | Third Party Advisory |