LiteSpeed Cache <= 7.9.3 - Unauthenticated Stored Cross-Site Scripting via Comment Content via CDN URL Rewriter
- State
- Published
- Severity
- 5.4 Medium
- Published
- Nov 26, 2026
- Updated
- Nov 27, 2026
- Reserved
- Nov 17, 2026
Description
The LiteSpeed Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 7.9.3 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires CDN Mapping to be enabled with at least one Original URLs entry containing a '*' wildcard character, a non-default configuration; the attacker's comment must also be approved, which is satisfied immediately when moderation is disabled or automatically after one prior approved comment from the same name and email address.
| Product | Versions |
|---|---|
| LiteSpeed Cache litespeedtech | 7.9.3 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.4 Medium | Wordfence |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e08d1dc8-4d36-4237-a6c9-56c0ff248cf9?source=cve
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.3/src/cdn.cls.php#L744
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.3/src/cdn.cls.php#L394
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.3/src/cdn.cls.php#L421
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.3/src/utility.cls.php#L297
- https://github.com/litespeedtech/lscache_wp/commit/ebffeecbcc977f4503af439c1ed09cc89c5af011
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.4/src/cdn.cls.php
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.