Code Injection Vulnerability in Markdown Preview Enhanced by shd101wyy
CVE-2026-11422

8.4HIGH

Key Information:

Vendor

Shd101wyy

Vendor
CVE Published:
5 June 2026

What is CVE-2026-11422?

The Markdown Preview Enhanced extension versions 0.8.x, which employs the Crossnote engine version 0.9.28, is susceptible to a code injection vulnerability. This occurs within the WaveDrom rendering pipeline, allowing attackers to execute arbitrary JavaScript. By inserting specially crafted content into a wavedrom fenced code block within a Markdown document, malicious actors can exploit unsanitized data passed to window.eval() in the VS Code webview. This manipulation enables them to abuse the extension's messaging capabilities, potentially leading to unauthorized file writes on the local filesystem.

Affected Version(s)

crossnote 0

Markdown Preview Enhanced 0

References

CVSS V4

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

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Neo by ProjectDiscovery
.