LiteSpeed Cache CVE-2025-12450
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft URL with XSS payload
-
ExploitTrick victim into clicking link
-
ExecutionPayload reflected unescaped in page
-
ImpactScript 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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).
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
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
NVD
CVE.org
EPSS
GitHub
Exploit-DB