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-2024-47374

CVE-2024-47374: LiteSpeed Cache Stored XSS Vulnerability

CVE-2024-47374 is a stored cross-site scripting flaw in LiteSpeed Cache that allows attackers to inject malicious scripts. This article covers the technical details, affected versions up to 6.5.0.2, security impact, and mitigation.

Published: January 28, 2026

CVE-2024-47374 Overview

CVE-2024-47374 is a Stored Cross-Site Scripting (XSS) vulnerability affecting the LiteSpeed Cache plugin for WordPress. This vulnerability stems from improper neutralization of input during web page generation, allowing attackers to inject and persist malicious scripts that execute in victims' browsers when they view affected pages.

Critical Impact

This Stored XSS vulnerability enables attackers to inject persistent malicious scripts into WordPress sites using the LiteSpeed Cache plugin, potentially compromising administrator sessions, stealing credentials, and facilitating further attacks on site visitors.

Affected Products

  • LiteSpeed Cache plugin for WordPress versions through 6.5.0.2
  • WordPress sites utilizing the LiteSpeed Cache plugin
  • Web servers running affected LiteSpeed Cache configurations

Discovery Timeline

  • October 5, 2024 - CVE-2024-47374 published to NVD
  • March 7, 2025 - Last updated in NVD database

Technical Details for CVE-2024-47374

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting. The Stored XSS variant is particularly dangerous because malicious payloads are persisted in the application's database or storage, executing automatically whenever users access the affected content.

The LiteSpeed Cache plugin, widely deployed across WordPress installations for performance optimization, contains insufficient input sanitization that allows attackers to inject JavaScript code that gets stored and later rendered to other users. This attack requires user interaction—a victim must visit a page containing the injected payload—but the scope extends beyond the vulnerable component, potentially affecting the entire WordPress installation.

Root Cause

The root cause of CVE-2024-47374 lies in inadequate input validation and output encoding within the LiteSpeed Cache plugin. When user-supplied data is processed and stored by the plugin, proper sanitization is not applied, allowing HTML and JavaScript content to be preserved. Subsequently, when this stored content is rendered on web pages, it executes within the browser context of users viewing those pages.

This failure to implement proper input sanitization and context-aware output encoding violates fundamental secure coding principles for web applications. The vulnerability affects integrity and confidentiality of user sessions without directly impacting availability.

Attack Vector

The attack vector for this vulnerability is network-based, requiring no authentication or special privileges. An attacker can exploit this vulnerability by:

  1. Identifying input fields or parameters processed by the LiteSpeed Cache plugin
  2. Crafting malicious JavaScript payloads designed to steal session cookies, redirect users, or perform actions on behalf of authenticated users
  3. Submitting the payload through the vulnerable input mechanism
  4. The malicious script is stored in the WordPress database
  5. When legitimate users (including administrators) view pages containing the stored payload, the JavaScript executes in their browser context

The vulnerability's scope is changed (S:C in CVSS terms), meaning successful exploitation can impact resources beyond the vulnerable component—potentially affecting the broader WordPress installation and all its users.

Detection Methods for CVE-2024-47374

Indicators of Compromise

  • Unexpected JavaScript or HTML code in database fields associated with LiteSpeed Cache plugin settings or cached content
  • Suspicious <script> tags or event handlers (e.g., onerror, onload) in page source where user input is reflected
  • Reports from users about unexpected browser behavior, redirects, or security warnings when visiting the site
  • Web Application Firewall (WAF) logs showing blocked XSS payloads targeting LiteSpeed Cache endpoints

Detection Strategies

  • Review LiteSpeed Cache plugin version and confirm if running version 6.5.0.2 or earlier
  • Implement Content Security Policy (CSP) headers to detect and block inline script execution attempts
  • Deploy web application firewall rules specifically targeting XSS patterns in LiteSpeed Cache-related requests
  • Conduct regular security scans of WordPress installations using vulnerability scanners that check for outdated plugins

Monitoring Recommendations

  • Enable detailed logging for all LiteSpeed Cache plugin activities and user submissions
  • Monitor for anomalous JavaScript execution patterns or unexpected external resource loading via browser developer tools or CSP violation reports
  • Set up alerts for modifications to cached content or plugin configuration that don't correlate with administrative actions
  • Review server access logs for unusual patterns targeting LiteSpeed Cache endpoints

How to Mitigate CVE-2024-47374

Immediate Actions Required

  • Update the LiteSpeed Cache plugin to the latest version beyond 6.5.0.2 immediately
  • Audit existing cached content and database entries for signs of injected malicious scripts
  • Implement Content Security Policy headers to restrict inline script execution as a defense-in-depth measure
  • Review administrator and user accounts for signs of compromise or unauthorized access

Patch Information

Organizations should update the LiteSpeed Cache plugin to the latest available version that addresses this vulnerability. The fix involves implementing proper input validation and output encoding to prevent malicious scripts from being stored and executed. For detailed patch information, refer to the Patchstack Vulnerability Report.

WordPress administrators can update the plugin through the WordPress admin dashboard under Plugins > Installed Plugins, or via WP-CLI using the appropriate update command.

Workarounds

  • If immediate patching is not possible, consider temporarily disabling the LiteSpeed Cache plugin until the update can be applied
  • Implement strict Content Security Policy headers that block inline scripts and restrict script sources to trusted domains
  • Deploy a Web Application Firewall (WAF) with XSS filtering rules to block malicious payloads targeting the plugin
  • Restrict access to the WordPress admin panel and LiteSpeed Cache settings to trusted IP addresses only
bash
# WordPress CLI update command for LiteSpeed Cache
wp plugin update litespeed-cache

# Verify current plugin version
wp plugin get litespeed-cache --field=version

# Add Content Security Policy header in .htaccess (Apache)
# Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'"

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 Probability19.28%

  • 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
  • Related CVEs
  • CVE-2024-51915: LiteSpeed Cache Stored XSS Vulnerability

  • CVE-2023-40000: 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