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.
CVSS 7.1EPSS 0.159%Risk 0.72
View source- Published
- 2026-06-05 21:16:29
- Affected versions
- >=0.8.0,<0.9.0
- Type
- Installed app
- Last modified
- 2026-07-23 07:10:00
- Vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N