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

· Original article ↗

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

People

Vendors

Products

Industries

Related Articles