All CVEs / Vscode-phpmd Project
CVE-2021-30124Vscode-phpmd Project Vscode-phpmd
Critical 9.8 No auth needed
Follow: this CVE · Vscode-phpmd Project · Vscode-phpmd Project Vscode-phpmd We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.0% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Jul 30, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Vscode-phpmd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vscode-phpmd_project | vscode-phpmd | < 1.3.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- marketplace.visualstudio.com Product
- vuln.ryotak.me Third Party Advisory