Live threats

All CVEs / Vscode-phpmd Project

CVE-2021-30124Vscode-phpmd Project Vscode-phpmd

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vscode-phpmd.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
vscode-phpmd_projectvscode-phpmd< 1.3.0

Official sources

References

Links published by the sources. Open them with care.