A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2025-12450

CVE-2025-12450: LiteSpeed Cache WordPress Plugin XSS Flaw

CVE-2025-12450 is a reflected cross-site scripting vulnerability in the LiteSpeed Cache plugin for WordPress that allows unauthenticated attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Published: May 26, 2026

CVE-2025-12450 Overview

The LiteSpeed Cache plugin for WordPress contains a Reflected Cross-Site Scripting (XSS) vulnerability affecting all versions up to and including 7.5.0.1. The flaw stems from insufficient input sanitization and output escaping when processing URLs. Unauthenticated attackers can inject arbitrary web scripts that execute when a victim is tricked into clicking a crafted link. The vulnerability is classified under [CWE-79] Improper Neutralization of Input During Web Page Generation. LiteSpeed Cache is one of the most widely deployed WordPress performance plugins, increasing the exposure surface across hosted WordPress sites.

Critical Impact

Unauthenticated attackers can execute arbitrary JavaScript in victims' browsers via crafted URLs, enabling session theft, account takeover, and administrative actions on WordPress sites running LiteSpeed Cache 7.5.0.1 or earlier.

Affected Products

  • LiteSpeed Cache plugin for WordPress, all versions through 7.5.0.1
  • WordPress sites with debug mode enabled running vulnerable LiteSpeed Cache versions
  • Fixed in LiteSpeed Cache version 7.6

Discovery Timeline

  • 2025-10-29 - CVE-2025-12450 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-12450

Vulnerability Analysis

The vulnerability is a Reflected Cross-Site Scripting flaw in the LiteSpeed Cache plugin. When debug mode is enabled, the plugin writes URL data into HTML comments without properly escaping the content. An attacker can craft a URL containing JavaScript payloads that breaks out of the comment context and executes in the victim's browser. The vendor changelog documents the fix as "Escaped comments to prevent a CSS vulnerability that could occur when debug is on," referencing Trustwave issue #218778 and [CWE-79].

Exploitation requires user interaction. The attacker must convince a victim to click a malicious link pointing at the affected WordPress site. Script execution occurs in the context of the WordPress site origin, allowing access to cookies, session tokens, and the DOM. When an administrator is targeted, the attacker can leverage script execution to create accounts, install plugins, or modify content.

Root Cause

The root cause is missing output escaping when the debug logging routine reflects request URLs into HTML comments rendered on plugin-generated pages. HTML comment context does not provide safe quoting boundaries, so unescaped sequences such as --><script> terminate the comment and introduce executable script tags. The patch escapes these values before they are written to the rendered output.

Attack Vector

The attack vector is network-based with required user interaction. An attacker hosts or distributes a crafted URL pointing to a vulnerable LiteSpeed Cache installation with debug mode active. When clicked, the reflected payload renders in the response and executes in the victim browser. The scope changes because injected script runs under the WordPress origin rather than the attacker domain.

php
// Patch reference - LiteSpeed Cache 7.6-rc4
 * Plugin Name:       LiteSpeed Cache
 * Plugin URI:        https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration
 * Description:       High-performance page caching and site optimization from LiteSpeed
- * Version:           7.6-rc3
+ * Version:           7.6-rc4
 * Author:            LiteSpeed Technologies

Source: LiteSpeed Cache GitHub Commit 3d473f4

Detection Methods for CVE-2025-12450

Indicators of Compromise

  • Inbound HTTP requests containing script tags, javascript: URIs, or comment-breakout sequences such as --> in query strings targeting WordPress endpoints
  • LiteSpeed Cache debug log entries showing reflected URL parameters containing HTML or JavaScript content
  • Unexpected WordPress administrator account creation or plugin installation following user clicks on external links
  • Referer headers from suspicious domains followed by authenticated administrative actions

Detection Strategies

  • Inspect HTTP request logs for URL parameters containing characters such as <, >, ", and -- directed at sites running LiteSpeed Cache
  • Deploy web application firewall rules that flag URL-borne XSS payloads against WordPress sites
  • Monitor whether the LiteSpeed Cache debug setting is enabled on production sites, since exposure depends on this configuration
  • Verify installed plugin version against the WordPress plugin registry and flag versions at or below 7.5.0.1

Monitoring Recommendations

  • Forward WordPress access logs and LiteSpeed Cache debug output to a centralized logging platform for query inspection
  • Alert on administrative actions originating from sessions that recently followed external referers
  • Track plugin version inventory across multi-site WordPress estates to identify unpatched installations

How to Mitigate CVE-2025-12450

Immediate Actions Required

  • Upgrade LiteSpeed Cache to version 7.6 or later on every WordPress site in scope
  • Disable LiteSpeed Cache debug mode on production environments until the upgrade is verified
  • Review WordPress administrator accounts and recently installed plugins for unauthorized changes
  • Rotate administrator credentials and invalidate active sessions if exploitation is suspected

Patch Information

LiteSpeed Technologies addressed the issue in LiteSpeed Cache 7.6. The fix escapes comment content emitted by the debug routine to prevent breakout from HTML comment context. The change is documented in commit 3d473f4 and credited in the changelog to Trustwave under [CWE-79]. Refer to the LiteSpeed Cache GitHub Commit and the Wordfence Vulnerability Report for full details.

Workarounds

  • Set LiteSpeed Cache > Toolbox > Debug Settings > Debug to OFF to remove the vulnerable code path from runtime
  • Deploy a web application firewall ruleset that strips or blocks script-bearing URL parameters
  • Apply Content Security Policy headers restricting inline scripts to reduce the impact of reflected payloads
bash
# Verify installed LiteSpeed Cache version via WP-CLI
wp plugin get litespeed-cache --field=version

# Update LiteSpeed Cache to the patched release
wp plugin update litespeed-cache --version=7.6

# Disable debug mode through WP-CLI as an interim mitigation
wp option patch update litespeed.conf debug 0

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 Probability0.11%

  • 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
  • GitHub Commit Update

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2024-51915: LiteSpeed Cache Stored XSS Vulnerability

  • CVE-2023-40000: LiteSpeed Cache Stored XSS Vulnerability

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

  • CVE-2024-28000: LiteSpeed Cache Privilege Escalation Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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