CVE-2026-11422CWE-95

Markdown Preview Enhanced 0.8.x Code Injection via WaveDrom Rendering

High · published June 5, 2026

CVSS v4.0
8.4
EPSS
0%
Percentile
4.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.4 · HIGH
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
EPSS
0.00159 · 4.7th percentile
Weakness
CWE-95 · Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Published
2026-06-05T20:16Z
EPSS history
Timeline
  • 05 JUN 20:16Z
    Markdown Preview Enhanced 0.8.x Code Injection via WaveDrom Rendering
    cvelistv5