CVE-2026-11422

Markdown Preview Enhanced 0.8.x Code Injection via WaveDrom Rendering

Published Jun 5, 2026 CVSS 4.0 · 8.4 High EPSS < 1% KEV · Not listed
Description
Markdown Preview Enhanced 0.8.x with crossnote engine 0.9.28 contains a code injection vulnerability in the WaveDrom rendering pipeline that allows attackers to execute arbitrary JavaScript by embedding malicious content in a wavedrom fenced code block within a crafted Markdown document. Attackers can exploit the unsanitized passing of wavedrom block content to window.eval() in the VS Code webview context to abuse the extension's message passing and invoke arbitrary file writes on the local filesystem.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:shd101wyy:markdown_preview_enhanced:*:*:*:*:*:visual_studio_code:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Shd101wyy
Shd101wyy crossnote
Shd101wyy markdown Preview Enhanced
Vendors & Products Shd101wyy
Shd101wyy crossnote
Shd101wyy markdown Preview Enhanced
Type Values Removed Values Added
Description Markdown Preview Enhanced 0.8.x with crossnote engine 0.9.28 contains a code injection vulnerability in the WaveDrom rendering pipeline that allows attackers to execute arbitrary JavaScript by embedding malicious content in a wavedrom fenced code block within a crafted Markdown document. Attackers can exploit the unsanitized passing of wavedrom block content to window.eval() in the VS Code webview context to abuse the extension's message passing and invoke arbitrary file writes on the local filesystem.
Title Markdown Preview Enhanced 0.8.x Code Injection via WaveDrom Rendering
Weaknesses CWE-95
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.4, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 14, 2026, 3:53 PM
Reserved
Jun 5, 2026, 8:01 PM
Status
Awaiting Analysis
Published
Jun 5, 2026, 9:16 PM
Modified
Jul 23, 2026, 7:10 AM