{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-30124","published":"2021-07-30T14:15:16.380000Z","last_modified":"2026-06-17T03:49:42.547000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":[],"cpes":[{"criteria":"cpe:2.3:a:vscode-phpmd_project:vscode-phpmd:*:*:*:*:*:visual_studio_code:*:*","part":"a","vendor":"vscode-phpmd_project","product":"vscode-phpmd","version_end_excluding":"1.3.0"}],"cpes_truncated":false,"vendors":["vscode-phpmd_project"],"products":["vscode-phpmd_project/vscode-phpmd"],"epss":{"score":0.03049,"percentile":0.88302,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2021-30124/","html_en":"/en/cve/CVE-2021-30124/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-30124","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-30124"},"untrusted":{"vendor_name":"Vscode-phpmd Project","product_name":"Vscode-phpmd","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/sandhje/vscode-phpmd/commit/c462bf5c6f0160d0199855d5f8ed76be8d9beac0","tags":["Patch","Third Party Advisory"]},{"url":"https://marketplace.visualstudio.com/items?itemName=ecodes.vscode-phpmd","tags":["Product"]},{"url":"https://vuln.ryotak.me/advisories/25","tags":["Third Party Advisory"]}]}}