Skip to main content

LiteSpeed Cache CVE-2025-12450

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-29 security@wordfence.com
6.1
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft URL with XSS payload
  2. Exploit
    Trick victim into clicking link
  3. Execution
    Payload reflected unescaped in page
  4. Impact
    Script executes in victim browser session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Per the fix commit and changelog, the vulnerable sink is the plugin's footer debug comment (core.cls.php comment()), and the changelog states the issue 'could occur when debug is on' - strongly implying the plugin's debug mode must be ENABLED (a non-default setting) for the payload to be reflected and executed. Additionally, exploitation requires victim user interaction: the attacker must trick a user into clicking a crafted URL (UI:R), and the impact executes in that user's browser context. Limiting factors: non-default debug configuration likely required, mandatory social-engineering/click step, and only low confidentiality/integrity impact (session/DOM-level), not server compromise. The NVD description's generic 'unauthenticated via URLs' framing overstates reach if the debug-mode prerequisite is confirmed.

Impact

This is a medium-severity reflected XSS (CVSS 6.1) that signals LOW real-world priority. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) indicates network-reachable, unauthenticated exploitation but requires user interaction (victim must click a crafted link) and yields only low confidentiality/integrity impact with no availability impact. Corroborating signals point the same way: EPSS is 0.38% (29th percentile), there is NO CISA KEV listing (no confirmed active exploitation), and no public exploit code was identified in the provided data - so this is neither widely nor targetedly exploited at time of analysis. A key conflict exists: the NVD/Wordfence description frames this as generic 'Reflected Cross-Site Scripting via URLs,' but the only source-code evidence (the fix commit) escapes a footer debug comment and the changelog explicitly states the flaw 'could occur when debug is on' - implying the vulnerable code path requires the plugin's debug mode to be enabled, a non-default condition the NVD description omits. If that prerequisite holds, real-world exposure is substantially narrower than the raw CVSS network/unauthenticated framing suggests. Verify the exact vulnerable sink with the vendor/Wordfence advisory before treating this as broadly exploitable.

Exploit ScenarioDerived

An attacker crafts a URL containing a malicious script payload for a WordPress site running a vulnerable LiteSpeed Cache version and distributes it via phishing or a malicious page. When a victim (likely a logged-in admin, per the debug-footer sink in the fix commit) clicks the link, the unescaped input is reflected into the page and executes in their browser, enabling session/cookie theft or actions in their context. No public exploit was identified at time of analysis, and the fix commit indicates the vulnerable output only renders when debug mode is enabled.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 08, 2026

Reflected cross-site scripting in the LiteSpeed Cache plugin for WordPress (all versions up to and including 7.5.0.1) lets an attacker inject arbitrary script into a page by supplying crafted URLs that are echoed back unescaped. Exploitation requires the plugin's debug mode to be enabled - a non-default configuration - plus a victim tricked into clicking a malicious link (UI:R), and the injected code runs only in that victim's browser context, limiting the impact to session and DOM-level confidentiality/integrity loss rather than server compromise. There is no public exploit identified at time of analysis and no confirmed active exploitation (not in CISA KEV); EPSS is 0.38% (29th percentile), indicating low predicted real-world exploitation activity, and an upstream fix commit exists but only as a 7.6-rc4 release-candidate build.

RemediationAI

Apply the upstream fix by updating LiteSpeed Cache to the patched build containing commit 3d473f44d37ec2a834162ff1d86c017e9ae67db3, which is tagged as 7.6-rc4 in the repository; because this commit only advances a release candidate, treat the fix as 'upstream fix available (commit/RC); released patched version not independently confirmed' and confirm the equivalent stable/GA release version on the WordPress.org plugin page before declaring remediation complete. As an immediate compensating control while patching is staged, disable the plugin's debug mode (debug output is the prerequisite that the vendor changelog explicitly calls out as 'when debug is on'), which removes the reflected sink entirely but also removes diagnostic logging you may rely on for troubleshooting. For users who cannot patch or disable debug immediately, deploy output-level protections that catch reflected XSS in the response body - a Web Application Firewall rule or content-security-policy with a restrictive script-src that blocks inline scripts - accepting that WAF signatures for this specific path may be imprecise and CSP can break themes/plugins that rely on inline JavaScript. Because the attack requires tricking a victim into clicking a crafted URL, user awareness on link handling offers marginal additional risk reduction. Vendor and reporter advisories to consult are the Wordfence threat-intel entry (https://www.wordfence.com/threat-intel/vulnerabilities/id/98f71c32-9453-4598-acb5-242818508c74?source=cve) and the GitHub fix commit (https://github.com/litespeedtech/lscache_wp/commit/3d473f44d37ec2a834162ff1d86c017e9ae67db3).

Affected ProductsAI

The affected product is the LiteSpeed Cache plugin for WordPress, covering all versions up to and including 7.5.0.1 per the NVD description and the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/98f71c32-9453-4598-acb5-242818508c74?source=cve). The vulnerability resides in the plugin's core comment/footer-debug code path (src/core.cls.php, comment()) and therefore only applies to sites running the plugin with debug output enabled. The upstream fix is delivered in the GitHub commit https://github.com/litespeedtech/lscache_wp/commit/3d473f44d37ec2a834162ff1d86c017e9ae67db3, which rolls the plugin version constant forward to 7.6-rc4, so the remediation target is the 7.6 line (at minimum 7.6-rc4). No CPE strings were provided in the input, so exact platform enumeration beyond 'WordPress plugin: litespeed-cache <= 7.5.0.1' should be verified against the vendor changelog.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation / Cross-Site Scripting) in the LiteSpeed Cache WordPress plugin's debug-comment handling. The vulnerable sink is the comment() method in src/core.cls.php, which appends attacker-influenced data directly into an HTML comment in the site footer ('$this->footer_comment .= "\n<!-- " . $data . ' -->';') with no output encoding, so any data containing '-->' and script markup can break out of the comment context and be rendered as executable HTML. The upstream patch wraps that value in htmlspecialchars( $data ) before concatenation, and the accompanying readme.txt changelog entry states the change 'Escaped comments to prevent a CSS vulnerability that could occur when debug is on. (#218778 Trustwave #CWE-79)', explicitly tying the reflection to the plugin's debug mode being active. The commit also bumps the plugin version constant LSCWP_V from 7.6-rc3 to 7.6-rc4, i.e. the fix landed on the release-candidate branch rather than a final stable tag. No CPE data was supplied, but the affected component is unambiguously the WordPress plugin distributed from the WordPress.org repository and GitHub (litespeedtech/lscache_wp).

Know when WordPress gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (wordfence) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 4.7 MEDIUM

Source evidence ties the flaw to debug mode being enabled (a non-default condition outside attacker control), so AC:H; reflected XSS needs a victim click (UI:R) and runs in the browser context (S:C, C:L/I:L, A:N).

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The LiteSpeed Cache plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via URLs in all versions up to, and including, 7.5.0.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
High
LiteSpeed Cache is an extremely popular WordPress caching plugin with millions of installs
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2016-10033 CRITICAL POC
9.8 Dec 30

The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para

CVE-2016-10045 CRITICAL POC
9.8 Dec 30

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2026-63030 CRITICAL POC
9.8 Jul 17

Remote code execution in WordPress 6.9.x (before 6.9.5) and 7.0.x (before 7.0.2) arises from a REST API batch endpoint r

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy