Skip to main content

Markdown Preview Enhanced CVE-2026-11422

| EUVDEUVD-2026-34916 HIGH
Eval Injection (CWE-95)
2026-06-05 VulnCheck GHSA-m48c-hxqg-4j76
8.4
CVSS 4.0 · Vendor: VulnCheck
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jun 05, 2026

Arbitrary JavaScript execution in the Markdown Preview Enhanced VS Code extension (0.8.x, bundling crossnote 0.9.28) is triggered when a victim opens or previews a crafted Markdown document containing a malicious wavedrom fenced code block. The WaveDrom rendering pipeline passes block contents directly to window.eval() inside the VS Code webview, letting an attacker abuse the extension's message-passing channel to write arbitrary files to the victim's local filesystem. Vendor patches were released on 2026-06-05; no public exploit was identified at time of analysis and the CVE is not listed in CISA KEV.

Earlier versions of this analysis (2)
v2 Jun 05, 2026 - 21:28 cvss changed CVSS 8.4

Arbitrary JavaScript execution in the Markdown Preview Enhanced VS Code extension (0.8.x, crossnote engine 0.9.28) is triggered when a user opens a crafted Markdown document containing a malicious wavedrom fenced code block. The unsanitized content is passed to window.eval() inside the VS Code webview, and the resulting code can pivot through the extension's message-passing channel to write arbitrary files to the local filesystem. No public exploit identified at time of analysis, but vendor commits and a VulnCheck advisory confirm the fix.

v1 Jun 05, 2026 - 21:15 CVSS 7.1

Arbitrary code execution in the Markdown Preview Enhanced VS Code extension (0.8.x, bundling crossnote 0.9.28) lets attackers run JavaScript in the preview webview by tricking a user into opening a crafted Markdown document containing a malicious wavedrom fenced code block. The injected script abuses the extension's webview message-passing channel to perform arbitrary file writes on the local filesystem; no public exploit is identified at time of analysis, but a vendor patch and detailed root-cause analysis from VulnCheck are available.

Affected VersionsENISA

crossnote 0 <0.9.28
Markdown Preview Enhanced 0 <0.8.27

Affected Packages

euvd crossnote fix: 0.9.28
euvd markdown_preview_enhanced fix: 0.8.27

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Know when Markdown Preview Enhanced gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.4 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck) · only source for this CVE.

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Jun 05, 2026 - 21:28 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 05, 2026 - 21:28 vuln.today
v2 - CVSS changed
CVSS changed
Jun 05, 2026 - 21:22 NVD
7.1 (HIGH) 8.4 (HIGH)

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Markdown Preview Enhanced VS Code extension (version 0.8.x) contains a vulnerability allowing arbitrary file operations on developer workstations through malicious Markdown documents. This poses significant supply chain and data exposure risks, as attackers could inject code, steal credentials, or compromise source code repositories if development teams using this extension are targeted.

Recommended Action

Within 24 hours: Identify all VS Code installations using Markdown Preview Enhanced (version 0.8.x) across the organization. Within 7 days: Update to the latest patched release through the VS Code marketplace (patch issued 2026-06-05). Within 30 days: Audit development systems for unauthorized file modifications and verify patch deployment across all affected installations.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy