CVE-2026-11422
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.
Published:Jun 5, 2026
Last Modified:Jul 14, 2026
EPS:Jun 5, 2026
EPSS Score:0.00159
CVSS Score:7.1
Affected Products
Vendor
Product
Action
Vendor
Shd101wyy
Product
Crossnote
Shd101wyy
Crossnote
Vendor
Shd101wyy
Product
Markdown Preview Enhanced
Shd101wyy
Markdown Preview Enhanced
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
