CVE 7.1 HIGH

Markdown Preview Enhanced 0.8.x Code Injection via WaveDrom Rendering_CVE-2026-11422

7.1 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

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.

Basic Information

ID CVE-2026-11422
Source VulnCheck
Published Jun 5, 2026 at 20:16

Affected Product

Vendor shd101wyy
Product Markdown Preview Enhanced
Affected Versions shd101wyy Markdown Preview Enhanced 0
shd101wyy crossnote 0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.