LiteSpeed Cache Patched for Unauthenticated Stored XSS Flaw

A medium-severity stored cross-site scripting vulnerability, CVE-2026-131695, has been identified in the LiteSpeed Cache plugin for WordPress, affecting versions up to 7.9.3. The flaw allows unauthenticated attackers to inject malicious scripts via the 'comment' parameter if specific non-default CDN configurations are enabled. A patched version, 7.9.4, has been released to address the issue.
Key points
- The vulnerability affects LiteSpeed Cache versions up to and including 7.9.3, impacting over 6 million WordPress sites.
- It is a stored cross-site scripting (XSS) flaw with a CVSS score of 5.4, classified as medium severity.
- Exploitation requires the CDN Mapping feature to be enabled with at least one Original URL entry containing a wildcard character, a non-default configuration.
- Attackers do not need authentication, but their injected comment must be approved, which happens automatically if moderation is disabled or after one prior approved comment from the same name and email.
- The flaw stems from insufficient input sanitization and output escaping in the 'comment' parameter.
- A fix has been released in version 7.9.4 of the plugin.
Background
This is the third significant security issue disclosed for LiteSpeed Cache in recent years. In August 2024, a critical privilege escalation flaw was found, affecting up to 5 million sites and fixed in version 6.4.1. In September 2024, a critical unauthenticated account takeover vulnerability (CVE-2024-44000) was disclosed, fixed in version 6.5.0.1. The plugin is widely used for performance optimization, including caching and minification.
Why it matters
The vulnerability affects a widely used WordPress plugin with over 6 million installations. Although exploitation requires a non-default configuration, the lack of authentication requirement and the potential for automatic comment approval in some setups make it a significant risk for sites that have enabled CDN mapping with wildcards. The medium severity score reflects the conditional nature of the exploit, but the widespread use of the plugin means many sites could be affected if misconfigured.
What to watch
Website administrators using LiteSpeed Cache should update to version 7.9.4 or later to patch the vulnerability. Users should review their CDN Mapping settings to ensure that Original URL entries do not contain wildcard characters unless necessary, and consider enabling comment moderation to prevent automatic approval of malicious comments. Security teams should monitor for any signs of exploitation, such as unexpected script injections in comment sections.
Want the full story? Read the original reporting
Read on CVEs | Zero Wire | Cloudflare Radar