CVE-2021-30124

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductVscode-phpmd
PublishedJul 30, 2021
First seenJul 30, 2021

How to fix

Update
  • vscode-phpmd_project vscode-phpmd1.3.0 or later

Affected products

ProductAffected versionsFixed in
vscode-phpmd_project vscode-phpmdv < 1.3.01.3.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2021-30124 · Vscode-phpmd · Dark Radar