CVE-2025-65716 Details
Description
An issue in Visual Studio Code Extensions Markdown Preview Enhanced v0.8.18 allows attackers to execute arbitrary code via uploading a crafted .Md file.
A vulnerability in the Visual Studio Code extension Markdown Preview Enhanced, version 0.8.18, allows attackers to execute arbitrary code by uploading a specially crafted Markdown file. This exploitation takes advantage of the way the extension processes HTML tags in Markdown, enabling the execution of JavaScript in the preview context with same-origin privileges. The executed script can communicate with localhost, potentially leading to local network enumeration and data exfiltration to an attacker-controlled server.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/shd101wyy/markdown-preview-enhanced | [email protected] | Product |
| https://www.ox.security/blog/cve-2025-65716-markdown-preview-enhanced-vscode-vulnerability/ | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| shd101wyy markdown preview enhanced | >= 0.8.18 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 25, 2026 | Initial Analysis | [email protected] |
| Feb 17, 2026 | CVE Modified | CISA-ADP |
| Feb 16, 2026 | New CVE Received | [email protected] |