CVE-2025-12450

6.1 MEDIUM

📋 TL;DR

The LiteSpeed Cache WordPress plugin has a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious scripts via crafted URLs. This affects all WordPress sites using LiteSpeed Cache versions up to 7.5.0.1. Attackers can steal session cookies, redirect users, or perform actions on their behalf by tricking users into clicking malicious links.

💻 Affected Systems

Products:
  • LiteSpeed Cache WordPress Plugin
Versions: All versions up to and including 7.5.0.1
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations with vulnerable plugin versions are affected regardless of configuration.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers steal administrator session cookies, gain full control of WordPress site, install backdoors, deface website, or steal sensitive user data.

🟠

Likely Case

Attackers steal user session cookies, redirect users to phishing sites, or perform limited actions within the user's current session context.

🟢

If Mitigated

Script execution is blocked by browser security features or Content Security Policy, limiting impact to specific browser contexts.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploitation requires user interaction (clicking malicious link) but no authentication. Attack complexity is low as it involves simple URL manipulation.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 7.5.0.1

Vendor Advisory: https://github.com/litespeedtech/lscache_wp/commit/3d473f44d37ec2a834162ff1d86c017e9ae67db3

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find LiteSpeed Cache and click 'Update Now'. 4. Verify plugin version is above 7.5.0.1.

🔧 Temporary Workarounds

Implement Content Security Policy

all

Add CSP headers to block inline script execution and restrict script sources

Add to .htaccess: Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Or configure via WordPress security plugin

Disable Plugin Temporarily

all

Deactivate LiteSpeed Cache plugin until patched

wp plugin deactivate litespeed-cache
Or deactivate via WordPress admin panel

🧯 If You Can't Patch

  • Implement web application firewall with XSS protection rules
  • Monitor for suspicious URL patterns in access logs and alert on detection

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → LiteSpeed Cache → Version number. If version is 7.5.0.1 or lower, system is vulnerable.

Check Version:

wp plugin get litespeed-cache --field=version

Verify Fix Applied:

Verify plugin version is above 7.5.0.1. Test with safe XSS payload in URL parameters to confirm sanitization.

📡 Detection & Monitoring

Log Indicators:

  • Unusual URL parameters containing script tags or JavaScript code
  • Multiple failed attempts with encoded payloads in query strings

Network Indicators:

  • HTTP requests with suspicious parameters like <script>, javascript:, or encoded equivalents

SIEM Query:

source="web_access_logs" AND ("%3Cscript%3E" OR "javascript:" OR "onerror=" OR "onload=") AND uri_path="*litespeed*"

🔗 References

📤 Share & Export