Command Injection Vulnerability in Markdown Preview Enhanced for Visual Studio Code
CVE-2026-54702

7.3HIGH

Key Information:

Vendor

Shd101wyy

Vendor
CVE Published:
14 October 2026

What is CVE-2026-54702?

The Markdown Preview Enhanced extension in Visual Studio Code prior to version 0.8.30 has a command injection vulnerability due to a flaw in the webview message handler. An attacker can exploit this by providing controlled command values and arguments, enabling them to execute privileged commands. This potentially allows for file modifications, execution of code chunks, and arbitrary URL openings without proper authorization checks. The flaw is mitigated in version 0.8.30, highlighting the importance of maintaining up-to-date software.

Affected Version(s)

vscode-markdown-preview-enhanced < 0.8.30

References

CVSS V4

Score:
7.3
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.