Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 94%

CVE-2026-11422: CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in shd101wyy Markdown Preview Enhanced

0
High
VulnerabilityCVE-2026-11422cvecve-2026-11422cwe-95
Published: 06/05/2026 (06/05/2026, 20:16:50 UTC)
Source: CVE Database V5
Vendor/Project: shd101wyy
Product: 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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 10:59:59 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses