Major Security Vulnerabilities Found in Four VS Code Extensions Impacting Millions

Published:

Cyber Warriors Conclave — nine editions, one cyber safe nation

Security Vulnerabilities in Popular VS Code Extensions

Recent research has brought to light significant security vulnerabilities within four widely-used Visual Studio Code (VS Code) extensions, collectively installed over 125 million times. As developers increasingly rely on integrated development environments (IDEs) for their projects, these vulnerabilities prompt serious considerations regarding the security of the software development supply chain.

Overview of the Vulnerable Extensions

The identified extensions are:

  1. Live Server
  2. Code Runner
  3. Markdown Preview Enhanced
  4. Microsoft Live Preview

These extensions are integral to the VS Code ecosystem, assisting millions of programmers worldwide in creating and managing their code efficiently.

The Risks of IDE Extensions

The vulnerabilities discovered point to a nested threat—merely having a single compromised extension within an IDE can potentially lead to the breach of entire organizational networks. Researchers emphasized that development environments serve as “the weakest link” in organizational security. This is because sensitive information such as API keys, database configurations, and even customer data are stored locally and accessed through IDEs.

Identifying High-Risk Vulnerabilities

The vulnerabilities associated with these extensions are not merely theoretical. The research team confirmed that three of these vulnerabilities received Common Vulnerabilities and Exposures (CVE) identifiers, illustrating their severity and potential for exploitation:

  1. CVE-2025-65717: Live Server

    • CVSS Score: 9.1 (Critical)
    • Impact: Remote file exfiltration
    • Affected Versions: All versions
    • Downloads: Over 72 million
  2. CVE-2025-65715: Code Runner

    • CVSS Score: 7.8 (High)
    • Impact: Remote code execution
    • Affected Versions: All versions
    • Downloads: Over 37 million
  3. CVE-2025-65716: Markdown Preview Enhanced

    • CVSS Score: 8.8 (High)
    • Impact: JavaScript code execution leading to local port scanning and potential data exfiltration
    • Affected Versions: All versions
    • Downloads: Over 8.5 million

Additionally, a vulnerability in Microsoft Live Preview, which has over 11 million downloads, was also identified but did not receive a CVE designation. This vulnerability can facilitate a “One-Click XSS to full IDE file exfiltration.”

Why IDE Extensions Are a Weak Link

IDE extensions typically operate with extensive permissions, enabling them to read and modify files, execute code, and interact with local servers. While such capabilities enhance productivity, they simultaneously increase the attack surface, giving attackers a route to execute arbitrary code, extract sensitive information, or seize control of a developer’s machine.

The implications of these vulnerabilities can be dire:

  • Lateral Movement: An attacker who gains access to one developer’s machine may navigate through interconnected networks, amplifying the breach’s reach.
  • Data Exfiltration: Sensitive information such as API keys and configuration files may be compromised.
  • System Takeover: Attackers can gain broader control over development machines, which may impact customers and production environments.

Issues Surrounding Responsible Disclosure

The researchers sought to responsibly disclose their findings regarding the CVE vulnerabilities in late 2025. Unfortunately, they reported that none of the extension maintainers responded to their outreach efforts. This underscores a more systemic issue—namely, the absence of a clear accountability framework and oversight mechanism for extension security.

Mitigation Strategies for Developers and Organizations

To decrease the risks associated with vulnerable extensions, both developers and organizations can adopt proactive measures:

  1. Avoid Opening Untrusted HTML Files: Do not open suspicious files while localhost servers are active.

  2. Restrict Unnecessary Local Servers: Only operate local servers that are essential for your development work.

  3. Monitor Configuration Changes: Regularly back up and monitor settings.json files to detect unauthorized adjustments.

  4. Limit Installed Extensions: Use only trusted extensions and verify their source before installation.

  5. Implement Network Protections: Fortify local environments with well-configured firewalls.

  6. Schedule Regular Updates: Keep IDEs, extensions, operating systems, and other development dependencies updated to the latest, secure versions.

Conclusion

The vulnerabilities found within these popular VS Code extensions highlight a pressing need for increased awareness and scrutiny regarding the security of IDEs and their extensions. By implementing these strategies, developers and organizations can safeguard their systems from emerging threats while continuing to benefit from the power and flexibility that modern development environments provide.

Cyber Warriors Conclave Chapter X — Beyond the Ballroom

Related articles

Recent articles

DARPA Develops Autonomous Portable Life Support System for Prolonged Field Care

OUSD (R&E) critical technology area(s): Biotechnology The Defense Advanced Research Projects Agency (DARPA) is advancing the development of an autonomous, portable extracorporeal life support platform...

Cloud Security Index Reveals Significant Misconfiguration Risks Across AWS, Azure, and Google Cloud

Managing security across multiple cloud providers presents unique challenges, as each platform exhibits distinct vulnerabilities. According to reporting by The Hacker News, the 2026...

EU Reviews Ukraine’s Request for PAC-3 Missile Funding from €90 Billion Support Loan

KYIV, Ukraine — The European Union is currently evaluating Ukraine's request to allocate billions of euros for the purchase of PAC-3 interceptor missiles intended...

Pentagon announces Secure Space Network to expand SCIF access for contractors

Based on reporting by breakingdefense.com. The US Department of Defense has announced plans to expand contractor access to classified workspaces through a new initiative called...