VulnerabilityModified
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.
CRITICAL 9.8EPSS 3.05%
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
- CISA KEV
- Not listed
- Affected
- vscode-phpmd project/vscode-phpmd
- Source
- cve@mitre.org
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. Refreshed daily.