CVE-2025-65717: Remote File Exfiltration in VS Code Live Server
- Vendor
- Ritwickdey
CVE-2025-65717 is a critical vulnerability in the Visual Studio Code Live Server extension, reported against version 5.7.9 and described by multiple sources as affecting all versions. The flaw stems from missing or insufficient cross-origin protections on the local HTTP server exposed by the extension, commonly bound to localhost for previewing project files. When Live Server is running, an attacker-controlled web page opened in the victim’s browser can issue cross-origin requests to the local server and read responses that should not be accessible to an external origin. This enables browsing and retrieval of files exposed through the developer’s local preview environment, followed by exfiltration of the collected data to attacker-controlled infrastructure. Exploitation does not require authentication to the local server, but it does rely on the victim visiting a crafted web page while the extension’s local server is active.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows unauthorized disclosure of files accessible through the Live Server-hosted local development environment. Sensitive source files, configuration data, secrets, and other developer-resident content exposed by the preview server may be collected remotely. Because developer workstations often contain credentials, API keys, environment-specific configuration, and proprietary code, the vulnerability can facilitate broader compromise, including follow-on intrusion, lateral movement, and theft of sensitive organizational data. Reported scoring places the issue at critical severity with CVSS 3.1 9.1.
Mitigation
If you can’t patch tonight, do this now.
Do not leave Live Server running when it is not actively needed. Avoid visiting untrusted or unrelated websites while a local preview server is active. Restrict extension use to trusted projects and consider uninstalling or disabling Live Server in environments handling sensitive code or secrets until a verified fix is available. Enterprise defenders should reduce localhost exposure where possible, enforce extension allowlisting, and isolate developer browsing from active local development services.
Remediation
Patch, then assume compromise.
Update the Live Server extension to a vendor-fixed release if one becomes available. If no patched version is available, remove or disable the extension to eliminate exposure. A proper fix should enforce strict cross-origin access controls on the local HTTP server, preventing arbitrary external web origins from reading localhost-served content. Security review should also verify that directory browsing and file access behavior are constrained to intended preview use cases and cannot be abused by browser-originated cross-site requests.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-65717 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2025-65717 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-65717?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2025-65717, the earliest disclosed Feb 19, 2026.
- Is there a patch for CVE-2025-65717?
- Update the Live Server extension to a vendor-fixed release if one becomes available. If no patched version is available, remove or disable the extension to eliminate exposure.
- What products are affected by CVE-2025-65717?
- Ritwickdey Live Server.
- How severe is CVE-2025-65717?
- CVE-2025-65717 has a CVSS v3.1 score of 4.3 (Medium) and an EPSS score of 0.46% (32nd percentile) as of Sep 25, 2026.
Recent activity
20 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.