Skip to content

CVE-2026-11422 Markdown Preview Enhanced 0.8.x Code Injection via WaveDrom Rendering

HighCVSS 8.4 EPSS 0.16%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
shd101wyy crossnote < 0.9.28 0.9.28 Fixed
shd101wyy Markdown Preview Enhanced < 0.8.27 0.8.27 Fixed

Affected products

ProductAffected versionsFixed in
shd101wyy Markdown Preview Enhanced < 0.8.27 0.8.27
shd101wyy crossnote < 0.9.28 0.9.28

References