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-2023-40000

CVE-2023-40000: LiteSpeed Cache Stored XSS Vulnerability

CVE-2023-40000 is a stored cross-site scripting flaw in LiteSpeed Cache that allows attackers to inject malicious scripts. This post covers the technical details, affected versions through 5.7, impact, and mitigation.

Published: February 11, 2026

CVE-2023-40000 Overview

CVE-2023-40000 is a Stored Cross-Site Scripting (XSS) vulnerability affecting the LiteSpeed Cache plugin for WordPress, one of the most popular caching plugins with millions of active installations. This improper neutralization of input during web page generation allows unauthenticated attackers to inject malicious scripts that persist on affected WordPress sites, potentially compromising administrator accounts and enabling site-wide attacks.

Critical Impact

Unauthenticated attackers can inject persistent malicious scripts site-wide, potentially leading to administrator account takeover, data theft, malware distribution, and complete WordPress site compromise.

Affected Products

  • LiteSpeed Cache plugin for WordPress versions through 5.7
  • WordPress installations using vulnerable LiteSpeed Cache versions
  • Any website utilizing the affected plugin for caching functionality

Discovery Timeline

  • 2024-04-16 - CVE-2023-40000 published to NVD
  • 2025-06-10 - Last updated in NVD database

Technical Details for CVE-2023-40000

Vulnerability Analysis

This Stored XSS vulnerability (CWE-79) exists in the LiteSpeed Cache plugin for WordPress through version 5.7. The flaw stems from improper neutralization of user-supplied input during web page generation, allowing attackers to inject malicious JavaScript code that gets stored and executed when pages are rendered to other users, including administrators.

The attack can be executed without authentication, significantly increasing its exploitability. When an administrator or other site visitor views a page containing the injected payload, the malicious script executes in their browser context. This can lead to session hijacking, unauthorized administrative actions, credential theft, or the injection of additional malicious content.

Root Cause

The vulnerability is caused by insufficient input sanitization and output encoding within the LiteSpeed Cache plugin. User-controllable data is stored without proper validation and subsequently rendered in web pages without adequate escaping, enabling attackers to break out of the intended HTML context and inject arbitrary JavaScript code.

Attack Vector

The attack is network-based and requires no authentication or special privileges, though user interaction is required for the malicious payload to execute. An attacker can exploit this vulnerability by:

  1. Identifying a WordPress site running a vulnerable version of LiteSpeed Cache (versions through 5.7)
  2. Crafting a malicious payload containing JavaScript code
  3. Injecting the payload through the vulnerable input vector
  4. Waiting for administrators or users to view the affected page
  5. Harvesting stolen credentials, session tokens, or executing arbitrary actions on behalf of authenticated users

The vulnerability allows the attacker to cross security boundaries, as the injected script can affect users across different security contexts on the same WordPress installation.

Detection Methods for CVE-2023-40000

Indicators of Compromise

  • Unexpected JavaScript code or suspicious <script> tags in cached pages or database entries
  • Unusual user account creation or privilege escalation events
  • Unfamiliar administrative actions in WordPress audit logs
  • Browser security warnings or Content Security Policy violations from legitimate pages

Detection Strategies

  • Review WordPress database for suspicious script content in LiteSpeed Cache-related tables
  • Implement Content Security Policy (CSP) headers to detect and block inline script execution
  • Monitor web application firewall (WAF) logs for XSS payload patterns targeting the LiteSpeed Cache plugin
  • Perform regular security scans using WordPress security plugins to identify stored malicious content

Monitoring Recommendations

  • Enable comprehensive logging for WordPress administrative actions and user authentication events
  • Deploy web application firewalls with XSS detection rules specifically covering stored XSS attack patterns
  • Configure security monitoring to alert on database modifications to plugin-related tables
  • Implement browser-side monitoring for unexpected script execution using CSP reporting

How to Mitigate CVE-2023-40000

Immediate Actions Required

  • Update LiteSpeed Cache plugin to version 5.7.0.1 or later immediately
  • Audit WordPress database and cached content for any signs of injected malicious scripts
  • Review administrative user accounts for unauthorized changes or suspicious additions
  • Force password resets for all administrative accounts as a precautionary measure

Patch Information

The vulnerability has been addressed in LiteSpeed Cache versions released after 5.7. Organizations should update to the latest available version through the WordPress plugin repository. For detailed vulnerability information, refer to the Patchstack Vulnerability Report. A proof-of-concept repository is available on GitHub for security research purposes.

Workarounds

  • Implement a Web Application Firewall (WAF) with rules to filter common XSS payloads
  • Apply strict Content Security Policy headers to prevent inline script execution
  • Temporarily disable the LiteSpeed Cache plugin if immediate patching is not possible
  • Restrict access to WordPress administrative interfaces to trusted IP addresses only
bash
# WordPress wp-config.php hardening example
# Add Content Security Policy via .htaccess
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'"

# Verify current LiteSpeed Cache version via WP-CLI
wp plugin list --name=litespeed-cache --fields=name,version,status

# Update LiteSpeed Cache to latest version
wp plugin update litespeed-cache

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechLitespeed Cache

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability80.29%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Patchstack Vulnerability Report

  • GitHub PoC for CVE-2023-40000
  • Related CVEs
  • CVE-2024-51915: LiteSpeed Cache Stored XSS Vulnerability

  • CVE-2024-47374: LiteSpeed Cache Stored XSS Vulnerability

  • CVE-2024-28000: LiteSpeed Cache Privilege Escalation Flaw

  • CVE-2024-50550: LiteSpeed Cache Privilege Escalation
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