CVE-2026-54703
Last modified
CVE-2026-54703 is a medium-severity vulnerability rated 5.8/10 on the CVSS scale. Markdown Preview Enhanced is a Markdown preview extension for Visual Studio Code. Prior to 0.8.30, the _crossnote.updateMarkdown command in Markdown Preview Enhanced accepts an arbitrary URI and attacker-controlled content, then passes them to vscode.workspace.fs.writeFile without validating that the target is the Markdown file represented by the current preview. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
Markdown Preview Enhanced is a Markdown preview extension for Visual Studio Code. Prior to 0.8.30, the _crossnote.updateMarkdown command in Markdown Preview Enhanced accepts an arbitrary URI and attacker-controlled content, then passes them to vscode.workspace.fs.writeFile without validating that the target is the Markdown file represented by the current preview. JavaScript already executing in the preview webview can invoke this command through the extension message bridge and write any file permitted by the VS Code user's operating-system privileges, including user configuration, startup, source, and build files. This file-write vulnerability requires a separate webview JavaScript execution path, such as the independently tracked head.html injection and blind command-dispatch weaknesses. This issue is fixed in version 0.8.30.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| shd101wyy | vscode-markdown-preview-enhanced | < 0.8.30 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-54703?
How severe is CVE-2026-54703?
How do I fix CVE-2026-54703?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-54698Hasura is an open-source product that provides users GraphQL…5.9
- CVE-2026-54699Warp is an agentic development environment. From 0.2024.03.1…7.7
- CVE-2026-5470A security vulnerability has been detected in mixelpixx Goog…6.3
- CVE-2026-54700ConnectBot SSH Client Library is written in Kotlin with Kait…6.9
- CVE-2026-54701Markdown Preview Enhanced is a Markdown preview extension fo…6.9
- CVE-2026-54702Markdown Preview Enhanced is a Markdown preview extension fo…7.3
- CVE-2026-54704OpenTelemetry Java Instrumentation provides OpenTelemetry au…6.5
- CVE-2026-54705MathLive provides web components for math display and input.…6.3
- CVE-2026-54706OnionShare is an open source tool that lets you securely and…4.8
- CVE-2026-54707OnionShare is an open source tool that lets you securely and…5.4
- CVE-2026-54708FreePBX is an open source IP PBX. Prior to versions 16.0.72 …8.8
- CVE-2026-54709Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
Are you affected by CVE-2026-54703?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
