CVE-2026-11422: CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in shd101wyy Markdown Preview Enhanced
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.
AI Analysis
Technical Summary
CVE-2026-11422 is an improper neutralization of directives in dynamically evaluated code (CWE-95) vulnerability affecting Markdown Preview Enhanced 0.8.x with crossnote engine 0.9.28. The vulnerability exists in the WaveDrom rendering pipeline where malicious content embedded in a wavedrom fenced code block is passed unsanitized to window.eval() within the VS Code webview context. This allows attackers to execute arbitrary JavaScript code, abuse the extension's message passing mechanism, and perform arbitrary file writes on the local filesystem. No official patch or remediation level has been provided yet, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript code within the VS Code webview context, leading to high confidentiality and integrity impacts. Specifically, attackers can abuse the extension's message passing to invoke arbitrary file writes on the local filesystem, potentially compromising user data and system integrity. Availability impact is not indicated.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, 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. Monitor vendor communications for updates and apply patches once released.
CVE-2026-11422: CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in shd101wyy Markdown Preview Enhanced
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 v3.1
Score 7.1high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-11422 is an improper neutralization of directives in dynamically evaluated code (CWE-95) vulnerability affecting Markdown Preview Enhanced 0.8.x with crossnote engine 0.9.28. The vulnerability exists in the WaveDrom rendering pipeline where malicious content embedded in a wavedrom fenced code block is passed unsanitized to window.eval() within the VS Code webview context. This allows attackers to execute arbitrary JavaScript code, abuse the extension's message passing mechanism, and perform arbitrary file writes on the local filesystem. No official patch or remediation level has been provided yet, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript code within the VS Code webview context, leading to high confidentiality and integrity impacts. Specifically, attackers can abuse the extension's message passing to invoke arbitrary file writes on the local filesystem, potentially compromising user data and system integrity. Availability impact is not indicated.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, 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. Monitor vendor communications for updates and apply patches once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-05T20:01:11.442Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2339d3e29bf47b50c1ce6b
Added to database: 06/05/2026, 21:04:19 UTC
Last enriched: 07/15/2026, 10:59:59 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 84
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.