CVE-2026-131695
LiteSpeed Cache <= 7.9.3 - Unauthenticated Stored Cross-Site Scripting via Comment Content via CDN URL Rewriter
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| LiteSpeed Cache |
affected up to and including 7.9.3
Other versions: unaffected
|
Is my server affected?
This CVE is in LiteSpeed Cache of litespeedtech, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
The Patchbrief agent covers Linux servers and containers: it matches their package lists against the Trivy vulnerability database, which does not list this product.
References
Other references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e08d1dc8-4d36-4237-a6c9-56c0ff248cf9?source=cve wordfence.com
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.3/src/cdn.cls.php#L744 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.3/src/cdn.cls.php#L394 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.3/src/cdn.cls.php#L421 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.3/src/utility.cls.php#L297 plugins.trac.wordpress.org
- https://github.com/litespeedtech/lscache_wp/commit/ebffeecbcc977f4503af439c1ed09cc89c5af011 github.com
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.4/src/cdn.cls.php plugins.trac.wordpress.org
Source: the record CVE-2026-131695 of the CVE List (CVE Program), CVE Terms of Use; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.