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.
Metrics
Affected Vendors & Products
References
History
Fri, 05 Jun 2026 21:00:00 +0000
| 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
|
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-06-05T20:16:50.802Z
Reserved: 2026-06-05T20:01:11.442Z
Link: CVE-2026-11422
No data.
Status : Received
Published: 2026-06-05T21:16:29.177
Modified: 2026-06-05T21:16:29.177
Link: CVE-2026-11422
No data.
OpenCVE Enrichment
Updated: 2026-06-05T23:30:07Z