Critical VS Code Extension Flaws Enable Code Execution and Data Exfiltration
Supply Chain Risk · 3 sources · Updated 4mo ago · First seen Feb 23, 2026

Researchers disclosed multiple high-severity vulnerabilities in widely used Visual Studio Code extensions, including Live Server, Markdown Preview Enhanced, Code Runner, and Microsoft Live Preview, exposing developers to local file theft, cross-site scripting, data exfiltration, and remote code execution. Three issues were assigned identifiers CVE-2025-65715, CVE-2025-65716, and CVE-2025-65717, with separate disclosures highlighting flaws in Markdown Preview Enhanced and Live Server.
The most severe issue, CVE-2025-65717 in Live Server, could allow a remote unauthenticated attacker to exfiltrate files from a developer workstation through localhost access if the victim opens a malicious website. Security guidance accompanying the disclosures urged organizations to update affected VS Code extensions to fixed versions, restrict installed extensions to those that are necessary, and prefer trusted publishers to reduce developer workstation exposure.
Why it matters
Impact assessment
These vulnerabilities affect developer workstations using widely deployed Visual Studio Code extensions, especially engineering teams that use Live Server, Code Runner, Markdown Preview Enhanced, or Microsoft Live Preview. The impact is high because the flaws enable local file theft, cross-site scripting, data exfiltration, and arbitrary command execution in the developer user context, creating risk of credential exposure, source code leakage, and downstream compromise of build and deployment environments.
The exposure is potentially widespread due to the popularity of the affected extensions, but exploitation generally requires user interaction such as opening a malicious website, workspace, Markdown file, or modified settings file. The story does not report confirmed in-the-wild exploitation, but the disclosed exploit paths are practical and directly target developer endpoints that often hold secrets, access keys, and privileged repository access.
Affected populations and products
- Visual Studio Code users with these extensions installed:
- Live Server 5.7.9 and earlier
- Code Runner 0.12.2 and earlier
- Markdown Preview Enhanced 0.8.18 and earlier
- Microsoft Live Preview earlier than 0.4.16
- Most exposed groups:
- Software developers
- DevOps and platform engineers
- CI/CD administrators using local development environments
- Organizations with sensitive source code or cloud credentials on developer endpoints
Severity and business risk
- Remote code execution is possible via Code Runner in the user context.
- Sensitive local files can be exfiltrated from developer machines via Live Server and Live Preview issues.
- Markdown Preview Enhanced can enable JavaScript execution, local port enumeration, and data exfiltration.
- Likely business impacts:
- Source code theft
- Secret and API key exposure
- Lateral movement from compromised developer endpoints
- Reputational and financial damage from software supply chain compromise
Scope and exploitation status
- Scope is broad across organizations that permit ungoverned VS Code extension use.
- Exploitation appears opportunistic and targeted rather than wormable.
- No explicit evidence of active exploitation in the wild is provided in the story.


