Researchers Find Critical Flaws in Four VS Code Extensions With 128M+ Installs

Summary
OX Security researchers reported vulnerabilities in four VS Code extensions with more than 128 million combined installations, warning of potential code execution, file exfiltration, and lateral movement. Microsoft Live Preview's issue was fixed in version 0.4.16.
Key points
- The affected extensions are Live Server, Code Runner, Markdown Preview Enhanced, and Microsoft Live Preview.
- Researchers reported CVE-2025-65717 in Live Server (CVSS 9.1), CVE-2025-65715 in Code Runner (7.8), and CVE-2025-65716 in Markdown Preview Enhanced (8.8); the article says all versions are affected.
- The reported flaws could enable remote file exfiltration, remote code execution, or JavaScript execution with local port scanning and potential data exfiltration.
- Researchers described the Microsoft Live Preview issue as a one-click XSS leading to IDE file exfiltration; it was fixed in version 0.4.16, and no CVE was assigned.
- OX Security researchers warned that exploitation could expose developer files and credentials or enable lateral movement into connected corporate networks.
- Suggested precautions include avoiding untrusted HTML or configurations, limiting unnecessary local servers and extensions, monitoring settings.json, hardening local networks, and updating IDEs and extensions.
Article Details
- Vulnerability Types
- Remote file exfiltration
- Remote code execution
- JavaScript code execution with local port scanning and potential data exfiltration
- Cross-site scripting enabling IDE file exfiltration
- Severity
- High to Critical (CVSS 7.8–9.1 for the three CVE-tracked flaws)
- Affected Versions
- Live Server (all versions)
- Code Runner (all versions)
- Markdown Preview Enhanced (all versions)
- Microsoft Live Preview (versions before 0.4.16)
- Exploitation Status
- unknown
- Exploit Availability
- unknown
- Patch Status
- partial
- Workarounds
- Avoid opening untrusted HTML files while localhost servers are running.
- Avoid operating unnecessary local servers.
- Do not apply untrusted configurations or snippets to global settings.json files.
- Install only trusted extensions and disable non-essential tools.
- Monitor or back up settings.json files for unexpected changes.
- Harden local networks with properly configured firewalls.
- Keep the IDE, extensions, operating systems, and development dependencies updated.
CVE
CVE-2025-65715Formulahendry · CoderunnerThree flaws received CVEs (CVE-2025-65717, CVE-2025-65715, CVE-2025-65716) with high CVSS scores enabling remote exploitation.CVE-2025-65716Shd101wyy · Markdown preview enhancedThree flaws received CVEs (CVE-2025-65717, CVE-2025-65715, CVE-2025-65716) with high CVSS scores enabling remote exploitation.CVE-2025-65717Ritwickdey · Live serverThree flaws received CVEs (CVE-2025-65717, CVE-2025-65715, CVE-2025-65716) with high CVSS scores enabling remote exploitation.
People
Vendors
Products
Code Runneruncovered critical vulnerabilities in four widely used Visual Studio Code extensions — Live Server, Code Runner, Markdown Preview Enhanced, and Microsoft Live Preview — that together have been installed over 128CursorThe research team identified vulnerabilities in four popular VS Code extensions, findings that were later confirmed on Cursor and Windsurf.Live ServerResearchers uncovered critical vulnerabilities in four widely used Visual Studio Code extensions — Live Server, Code Runner, Markdown Preview Enhanced, and Microsoft Live Preview — that together have been installed overMarkdown Preview Enhancedvulnerabilities in four widely used Visual Studio Code extensions — Live Server, Code Runner, Markdown Preview Enhanced, and Microsoft Live Preview — that together have been installed over 128 million times.Microsoft Live Previewused Visual Studio Code extensions — Live Server, Code Runner, Markdown Preview Enhanced, and Microsoft Live Preview — that together have been installed over 128 million times.VSCodeResearchers uncovered critical vulnerabilities in four widely used Visual Studio Code extensions — Live Server, Code Runner, Markdown Preview Enhanced, and Microsoft Live Preview — that together have been installed overWindsurfThe research team identified vulnerabilities in four popular VS Code extensions, findings that were later confirmed on Cursor and Windsurf.
