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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.05%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.05% probability · 87th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Affected
- vscode-phpmd project/vscode-phpmd
- Source
- cve@mitre.org
EPSS 3.0% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- https://github.com/sandhje/vscode-phpmd/commit/c462bf5c6f0160d0199855d5f8ed76be8d9beac0Patch, Third Party Advisory
- https://marketplace.visualstudio.com/items?itemName=ecodes.vscode-phpmdProduct
- https://vuln.ryotak.me/advisories/25Third Party Advisory
- https://github.com/sandhje/vscode-phpmd/commit/c462bf5c6f0160d0199855d5f8ed76be8d9beac0Patch, Third Party Advisory
- https://marketplace.visualstudio.com/items?itemName=ecodes.vscode-phpmdProduct
- https://vuln.ryotak.me/advisories/25Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.