Skip to main content
Mallory
← Back to News
extension-plugin-hijackendpoint-software-vulnerabilitywidely-deployed-product-advisorydata-exfiltration-method

Critical VS Code Extension Flaws Enable Code Execution and Data Exfiltration

Supply Chain Risk · 3 sources · Updated 4mo ago · First seen Feb 23, 2026

Critical VS Code Extension Flaws Enable Code Execution and Data Exfiltration

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.
Does this reach your builds?Trace attribution and downstream blast radius.
Trace the chain
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Feb 17, 2026 – Feb 23, 2026
  1. Feb 23, 20269mo ago

    CSIRT.SK publishes advisory on critical VS Code extension flaws

    CSIRT.SK published an advisory summarizing Ox Security's findings on critical vulnerabilities in Visual Studio Code extensions. The advisory recommended updating affected extensions to fixed versions and limiting installed extensions to only those necessary and from trusted sources.

    Kritické zraniteľnosti v rozšíreniach Visual Studio Code umožňujú vykonávať kód a exfiltrovať dáta | CSIRT.SK
  2. Feb 17, 20269mo ago

    Ox Security identifies multiple VS Code extension vulnerabilities

    Ox Security researchers identified serious vulnerabilities in several popular Visual Studio Code extensions, including Live Server, Code Runner, Markdown Preview Enhanced, and Microsoft Live Preview. The issues included local file theft, cross-site scripting, data exfiltration, and remote code execution, with CVEs assigned to three of the flaws.

    CVE-2025-65717: Live Server VS Code Extension Vulnerability
  3. Feb 17, 20269mo ago

    CVE-2025-65717 disclosed in Live Server extension

    A vulnerability tracked as CVE-2025-65717 was disclosed in the Live Server VS Code extension. CSIRT.SK described it as the most severe issue, allowing a remote unauthenticated attacker to exfiltrate files from a developer machine via localhost access when the victim opens a malicious website.

    CVE-2025-65717: Live Server VS Code Extension Vulnerability
  4. Feb 17, 20269mo ago

    CVE-2025-65716 disclosed in Markdown Preview Enhanced

    A vulnerability tracked as CVE-2025-65716 was disclosed in the Markdown Preview Enhanced VS Code extension. The flaw was part of Ox Security's reporting on critical extension security issues affecting developers.

    CVE-2025-65716: Markdown Preview Enhanced Vulnerability
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See attribution and downstream blast radius, and whether this package or vendor reaches your builds.
Trace the Supply Chain
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.