The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-65717

CVE-2025-65717: VS Code Live Server XSS Vulnerability

CVE-2025-65717 is an XSS flaw in Visual Studio Code Extensions Live Server v5.7.9 that enables attackers to exfiltrate files through crafted HTML pages. This article covers technical details, impact, and mitigation.

Published: February 20, 2026

CVE-2025-65717 Overview

A Cross-Site Scripting (XSS) vulnerability exists in the Visual Studio Code Live Server extension version 5.7.9 that allows attackers to exfiltrate files from a victim's system. The vulnerability requires user interaction, specifically tricking a user into interacting with a maliciously crafted HTML page served through the Live Server extension.

Critical Impact

Attackers can exfiltrate sensitive files from developers' local machines through a crafted HTML page when using the Live Server extension for web development.

Affected Products

  • Visual Studio Code Live Server Extension v5.7.9

Discovery Timeline

  • 2026-02-16 - CVE-2025-65717 published to NVD
  • 2026-02-18 - Last updated in NVD database

Technical Details for CVE-2025-65717

Vulnerability Analysis

This vulnerability (CWE-79) represents a Cross-Site Scripting flaw in the Live Server extension, a popular Visual Studio Code extension used by developers to launch a local development server with live reload capability. The extension serves local files over HTTP, creating a potential attack surface when malicious HTML content is introduced.

The vulnerability allows attackers to craft malicious HTML pages that, when served through Live Server and interacted with by the user, can exfiltrate local files. This is particularly concerning for developers who may inadvertently open untrusted HTML files during their development workflow, potentially exposing source code, configuration files, or credentials stored locally.

Root Cause

The root cause stems from improper input validation and sanitization within the Live Server extension's handling of HTML content. The extension fails to adequately restrict or sanitize content served through its local development server, allowing malicious scripts embedded in HTML pages to execute with access to local file system resources. This lack of proper Content Security Policy enforcement and insufficient sandboxing enables cross-origin data exfiltration through crafted payloads.

Attack Vector

The attack requires a network-based approach where an attacker must convince a developer to open a malicious HTML file through the Live Server extension. The attack vector involves:

  1. The attacker creates a crafted HTML page containing malicious JavaScript
  2. The victim developer obtains or clones a project containing the malicious HTML file
  3. The developer uses Live Server to preview the HTML page during development
  4. User interaction with the page triggers the malicious payload
  5. The payload exploits the XSS vulnerability to read and exfiltrate local files to an attacker-controlled server

The vulnerability mechanism leverages the trusted context of the Live Server's local HTTP server to bypass browser security restrictions. When the malicious HTML page is served, it can execute scripts that access the local file system through various techniques enabled by the extension's permissive configuration, ultimately transmitting file contents to external endpoints.

For detailed technical analysis, see the Ox Security Blog Analysis.

Detection Methods for CVE-2025-65717

Indicators of Compromise

  • Unexpected outbound network connections from VS Code or Live Server processes to external domains
  • JavaScript payloads in HTML files attempting to access local file paths or use fetch/XMLHttpRequest to external endpoints
  • Unusual file read activity within the VS Code workspace during Live Server sessions
  • Network traffic containing base64-encoded file contents being transmitted externally

Detection Strategies

  • Monitor for VS Code extensions making unexpected external network connections
  • Implement network egress filtering to detect anomalous data exfiltration patterns from development environments
  • Scan HTML files in repositories for suspicious JavaScript patterns such as fetch() calls to external domains or file system access attempts
  • Use browser developer tools to inspect network activity when previewing untrusted HTML files

Monitoring Recommendations

  • Enable detailed logging for VS Code and extension activity during development sessions
  • Implement endpoint detection rules for unusual VS Code process behavior, particularly network activity
  • Review and audit third-party HTML/JavaScript files before previewing with Live Server
  • Configure network monitoring to alert on outbound connections from development tool processes to unknown external endpoints

How to Mitigate CVE-2025-65717

Immediate Actions Required

  • Update the Live Server extension to the latest available version from the VS Code Marketplace
  • Avoid opening untrusted HTML files with Live Server until a patch is confirmed
  • Review any recently cloned or downloaded projects for suspicious HTML or JavaScript content
  • Consider using alternative local development servers with stronger security controls for handling untrusted content

Patch Information

Check the GitHub Live Server Project for the latest security updates and patches addressing this vulnerability. Users should ensure they are running the most recent version of the extension and monitor the project's releases for security-related updates.

Workarounds

  • Disable the Live Server extension when not actively needed for trusted projects
  • Use browser DevTools Network tab to monitor for suspicious outbound requests when previewing HTML files
  • Implement a Content Security Policy header in your development environment to restrict script execution and external connections
  • Preview untrusted HTML files in an isolated browser sandbox or virtual machine environment
bash
# Configuration example - Disable Live Server extension when not in use
# In VS Code, you can disable extensions per workspace
# Press Ctrl+Shift+P (Cmd+Shift+P on Mac) and run:
# "Extensions: Disable (Workspace)" for Live Server

# Alternatively, configure VS Code to prompt before running Live Server on untrusted files
# Add to settings.json:
# "security.workspace.trust.enabled": true

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechVisual Studio Code

  • SeverityMEDIUM

  • CVSS Score4.3

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Live Server Project

  • Ox Security Blog CVE-2025-65717 Analysis
  • Related CVEs
  • CVE-2025-65715: VS Code Code Runner RCE Vulnerability

  • CVE-2025-65716: VS Code Markdown Preview Enhanced RCE Flaw

  • CVE-2025-8217: Amazon Q Developer VS Code Extension RCE
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English