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.
References
Configurations
No configuration.
History
23 Jul 2026, 07:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
08 Jun 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/shd101wyy/vscode-markdown-preview-enhanced/issues/2315 - |
05 Jun 2026, 21:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-05 21:16
Updated : 2026-07-23 07:10
NVD link : CVE-2026-11422
Mitre link : CVE-2026-11422
CVE.ORG link : CVE-2026-11422
JSON object : View
Products Affected
No product.
CWE
CWE-95
Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
