A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /shd101wyy/crossnote/commit/5588ca2121c3da43fe331575dc5cf4e…
- github.com /shd101wyy/vscode-markdown-preview-enhanced/commit/dcd80281…
- github.com /shd101wyy/vscode-markdown-preview-enhanced/issues/2315
- www.vulncheck.com /advisories/markdown-preview-enhanced-x-code-injection-via-…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning