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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2020-3955

CVE-2020-3955: VMware ESXi XSS Vulnerability

CVE-2020-3955 is a cross-site scripting flaw in VMware ESXi 6.5 and 6.7 that fails to neutralize scripts in VM attributes. This article covers the technical details, affected versions, impact, and mitigation.

Published: March 4, 2026

CVE-2020-3955 Overview

CVE-2020-3955 is a stored Cross-Site Scripting (XSS) vulnerability affecting VMware ESXi versions 6.5 and 6.7. The vulnerability exists due to improper neutralization of script-related HTML content when viewing virtual machine attributes. An attacker with access to virtual machine configuration could inject malicious scripts that execute in the context of other administrative users who view the affected VM attributes, potentially leading to session hijacking, credential theft, or unauthorized administrative actions.

Critical Impact

This XSS vulnerability enables attackers to execute arbitrary JavaScript in the browsers of administrators viewing VM attributes, potentially compromising administrative sessions and enabling lateral movement within the virtualization infrastructure.

Affected Products

  • VMware ESXi 6.5 (all versions prior to patch ESXi650-201912104-SG)
  • VMware ESXi 6.7 (all versions prior to patch ESXi670-202004103-SG)
  • VMware ESXi environments using vSphere Web Client or Host Client for management

Discovery Timeline

  • April 29, 2020 - CVE-2020-3955 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-3955

Vulnerability Analysis

This vulnerability stems from improper input validation and output encoding when processing virtual machine attribute data within the ESXi management interfaces. When administrators view virtual machine properties or configurations through the vSphere Web Client or ESXi Host Client, the system fails to properly sanitize HTML and script content embedded in VM attributes such as names, annotations, or custom fields.

The stored nature of this XSS vulnerability makes it particularly dangerous, as the malicious payload persists in the ESXi configuration and executes every time an administrator views the affected virtual machine's attributes. This creates an opportunity for attackers who have gained limited access to VM configuration (potentially through compromised credentials or a lower-privileged account) to escalate their access by targeting administrators.

The impact extends beyond simple script execution—successful exploitation could allow attackers to steal administrative session tokens, perform actions on behalf of authenticated administrators, exfiltrate sensitive configuration data, or establish persistent backdoor access to the virtualization management infrastructure.

Root Cause

The root cause is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) vulnerability. The ESXi web management interfaces do not properly encode or sanitize user-controllable input stored in virtual machine attributes before rendering that content in HTML contexts. This allows script tags, event handlers, and other malicious HTML constructs to be interpreted and executed by the victim's browser rather than being displayed as harmless text.

Attack Vector

The attack requires network access to the ESXi management interface and some level of access to modify virtual machine attributes. An attacker would craft a malicious payload containing JavaScript code and inject it into a VM attribute field. The payload could be designed to:

  1. Steal session cookies or authentication tokens
  2. Redirect administrators to phishing pages
  3. Make API calls on behalf of the authenticated user
  4. Modify system configurations silently
  5. Create new administrative accounts

The malicious script executes within the browser context of any administrator who subsequently views the VM properties, inheriting their privileges and session context. Since ESXi environments often have multiple administrators, this creates a high probability of successful exploitation once the payload is planted.

Detection Methods for CVE-2020-3955

Indicators of Compromise

  • Unexpected JavaScript or HTML tags present in virtual machine name fields, annotations, or custom attributes
  • Browser developer tools showing script execution from VM attribute data sources
  • Unusual API calls or configuration changes originating from administrative sessions
  • Session cookies being transmitted to external or unexpected destinations

Detection Strategies

  • Implement Content Security Policy (CSP) headers on ESXi management interfaces where possible to detect and block inline script execution
  • Monitor ESXi audit logs for suspicious modifications to virtual machine attributes, particularly those containing special characters like <, >, or script
  • Review virtual machine annotations and custom fields periodically for unexpected content
  • Deploy web application firewall rules to detect XSS patterns in requests to ESXi management interfaces

Monitoring Recommendations

  • Enable and centralize logging from vCenter Server and ESXi hosts to detect unusual administrative activity
  • Configure alerting for bulk modifications to VM attributes or creation of VMs with suspicious names
  • Monitor for signs of session hijacking such as simultaneous logins from different source IPs
  • Implement network traffic analysis to detect exfiltration of session tokens or credentials

How to Mitigate CVE-2020-3955

Immediate Actions Required

  • Apply VMware security patches immediately: ESXi650-201912104-SG for ESXi 6.5 and ESXi670-202004103-SG for ESXi 6.7
  • Audit all virtual machines for suspicious content in names, annotations, and custom fields
  • Review administrative access logs for signs of unauthorized VM attribute modifications
  • Restrict access to ESXi management interfaces to trusted networks and administrators only

Patch Information

VMware has released security patches to address this vulnerability. Organizations running affected versions should apply the following patches as documented in VMware Security Advisory VMSA-2020-0008:

  • ESXi 6.5: Apply patch ESXi650-201912104-SG
  • ESXi 6.7: Apply patch ESXi670-202004103-SG

These patches implement proper input sanitization and output encoding for virtual machine attribute data, preventing the injection and execution of malicious scripts.

Workarounds

  • Implement network segmentation to restrict access to ESXi management interfaces from untrusted networks
  • Use role-based access control to limit which users can modify virtual machine attributes
  • Enable browser security features and extensions that can detect or block XSS attacks
  • Consider implementing additional web application firewalls in front of vSphere management interfaces
bash
# Verify current ESXi patch level
esxcli software vib list | grep -i esx-base

# Check for applied security patches on ESXi 6.5
esxcli software vib list | grep ESXi650-201912104

# Check for applied security patches on ESXi 6.7
esxcli software vib list | grep ESXi670-202004103

# Review VM annotations for suspicious content (PowerCLI)
# Get-VM | Select Name, Notes | Where-Object {$_.Notes -match "<script|javascript|onerror|onclick"}

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechVmware Esxi

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability1.94%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Vendor Resources
  • VMware Security Advisory VMSA-2020-0008
  • Related CVEs
  • CVE-2025-22224: VMware ESXi Privilege Escalation Flaw

  • CVE-2025-22225: VMware ESXi Privilege Escalation Flaw

  • CVE-2025-22226: VMware ESXi Information Disclosure Flaw

  • CVE-2025-41226: VMware ESXi Guest Operation DoS Vulnerability
Default Legacy - Prefooter | 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