CVE-2026-11422: shd101wyy Markdown Preview Enhanced · Eval Injection
Affects shd101wyy Markdown Preview EnhancedSource CVE Database V5
Not known to be exploited · CVSS 7.1 High : upgrade to 0.8.27 soon.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.8.27, 0.9.28
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade Markdown Preview Enhanced to 0.8.27; crossnote to 0.9.28.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| shd101wyyMarkdown Preview Enhanced | Affected
| Fixed in– |
| shd101wyycrossnote | Affected
| Fixed in– |
GitHubMarkdown Preview Enhancedpkg:github/Markdown Preview EnhancedOther threats | Affected
| Fixed in
|
GitHubcrossnotepkg:github/crossnoteOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should avoid opening untrusted Markdown documents containing wavedrom fenced code blocks in Markdown Preview Enhanced 0.8.x with crossnote engine 0.9.28.
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.
References
- github.com/shd101wyy/vscode-markdown-preview-enhanced/issues/2315 (opens in a new tab)
- github.com/shd101wyy/crossnote/commit/5588ca2121c3da43fe331575dc5cf4ef347b91ee (opens in a new tab)
- github.com/shd101wyy/vscode-markdown-preview-enhanced/commit/dcd80281c986293b93d9f1af34ced64dcb230c77 (opens in a new tab)
- vulncheck.com/advisories/markdown-preview-enhanced-x-code-injection-via-wavedrom-rendering (opens in a new tab)