Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2024-51915

CVE-2024-51915: LiteSpeed Cache Stored XSS Vulnerability

CVE-2024-51915 is a stored cross-site scripting flaw in LiteSpeed Cache plugin that allows attackers to inject malicious scripts. This post covers the technical details, affected versions up to 6.5.2, and mitigation.

Published: February 27, 2026

CVE-2024-51915 Overview

CVE-2024-51915 is a Stored Cross-Site Scripting (XSS) vulnerability affecting the LiteSpeed Cache plugin for WordPress, developed by LiteSpeed Technologies. This vulnerability stems from improper neutralization of input during web page generation, allowing attackers with authenticated access to inject malicious scripts that persist within the application and execute when other users view affected pages.

Critical Impact

Authenticated attackers can inject persistent malicious scripts into WordPress sites using LiteSpeed Cache, potentially leading to session hijacking, credential theft, and unauthorized actions performed on behalf of legitimate users.

Affected Products

  • LiteSpeed Cache WordPress Plugin versions through 6.5.2
  • WordPress installations utilizing vulnerable LiteSpeed Cache versions

Discovery Timeline

  • 2026-02-20 - CVE CVE-2024-51915 published to NVD
  • 2026-02-25 - Last updated in NVD database

Technical Details for CVE-2024-51915

Vulnerability Analysis

This vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation). The flaw exists in the LiteSpeed Cache plugin's handling of user-supplied input, where insufficient sanitization allows malicious JavaScript to be stored and subsequently rendered to other users visiting the affected pages.

Stored XSS vulnerabilities are particularly dangerous because the malicious payload persists on the server, executing automatically whenever a victim accesses the compromised content. This differs from reflected XSS where the attack vector requires user interaction with a crafted URL. The attack requires low privileges but necessitates user interaction for exploitation to occur, and it can affect resources beyond the vulnerable component's scope.

Root Cause

The root cause of CVE-2024-51915 lies in insufficient input validation and output encoding within the LiteSpeed Cache plugin. When user-controllable data is processed by the plugin, it fails to properly neutralize special characters such as <, >, and quotation marks before incorporating this content into dynamically generated web pages.

This oversight allows attackers to embed executable JavaScript code that becomes part of the page's HTML structure, bypassing any client-side protections and executing within the context of the victim's browser session.

Attack Vector

The attack vector for this vulnerability is network-based and requires an authenticated user with at least low-level privileges to exploit. The attacker must inject a specially crafted payload containing malicious JavaScript into a form field or input area processed by the LiteSpeed Cache plugin.

Once the malicious content is stored, any user—including administrators—who views the affected page will have the script executed in their browser. This can lead to:

  • Session cookie theft enabling account takeover
  • Keylogging to capture sensitive credentials
  • Defacement of the WordPress site
  • Phishing attacks targeting site administrators
  • Propagation of the attack to other users

For detailed technical information regarding this vulnerability, refer to the Patchstack WordPress Plugin Vulnerability advisory.

Detection Methods for CVE-2024-51915

Indicators of Compromise

  • Unexpected JavaScript code or <script> tags in database records associated with LiteSpeed Cache settings
  • Suspicious user activity from accounts with plugin access privileges
  • Browser-based alerts or redirections reported by site visitors
  • Modified plugin configuration values containing encoded or obfuscated scripts

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block XSS payload patterns in HTTP requests
  • Enable Content Security Policy (CSP) headers to restrict inline script execution and report violations
  • Deploy log analysis to identify unusual POST requests targeting LiteSpeed Cache endpoints
  • Utilize WordPress security plugins to scan for malicious content injected into plugin data

Monitoring Recommendations

  • Monitor WordPress database tables associated with LiteSpeed Cache for unexpected script insertions
  • Configure alerts for Content Security Policy violations indicating attempted XSS execution
  • Review access logs for patterns of authenticated users submitting suspicious input patterns
  • Enable browser-based XSS auditor reporting where available

How to Mitigate CVE-2024-51915

Immediate Actions Required

  • Update the LiteSpeed Cache plugin to a version newer than 6.5.2 that addresses this vulnerability
  • Audit existing plugin data and database entries for signs of injected malicious scripts
  • Implement Content Security Policy headers to mitigate potential XSS impact
  • Restrict plugin configuration access to trusted administrators only

Patch Information

LiteSpeed Technologies has addressed this vulnerability in versions released after 6.5.2. Administrators should update to the latest available version through the WordPress plugin repository. Review the Patchstack advisory for specific patch details and version recommendations.

Workarounds

  • Apply strict input validation at the application level using WordPress sanitization functions such as wp_kses() and esc_html()
  • Deploy a Web Application Firewall with XSS protection rules enabled
  • Limit user roles that have access to LiteSpeed Cache configuration interfaces
  • Implement Content Security Policy headers to reduce XSS impact while awaiting patching
bash
# Example: Add Content Security Policy header in WordPress .htaccess
# Add to your site's .htaccess file for additional XSS protection

<IfModule mod_headers.c>
    Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none';"
</IfModule>

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.5

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-79
  • Technical References
  • Patchstack WordPress Plugin Vulnerability
  • Related CVEs
  • CVE-2023-40000: 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