CVE Catalog

CVE-2026-11422

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Summary

Markdown Preview Enhanced version 0.8.x with crossnote engine 0.9.28 contains a code injection vulnerability in the WaveDrom rendering pipeline. This allows attackers to execute arbitrary JavaScript by embedding malicious content in a wavedrom fenced code block within a crafted Markdown document.

Risk Assessment

Attackers can exploit this vulnerability to perform unauthorized operations on the local filesystem, posing a serious threat to the organization's data security.

Recommendation

It is recommended to update the Markdown Preview Enhanced extension to the latest version to mitigate this vulnerability and to monitor and restrict access to features that may be susceptible to attacks.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS