Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-131695: medium-severity vulnerability (CVSS 5.4) in litespeedtech LiteSpeed Cache.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 5.4.
Affected products and versions
litespeedtech LiteSpeed Cache <= 7.9.3
| Product | Versions | Fixed in |
|---|---|---|
| litespeedtech LiteSpeed Cache | <= 7.9.3 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e08d1dc8-4d36-4237-a6c9-56c0ff248cf9?source=cve — CVE Program
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.3/src/cdn.cls.php#L744 — CVE Program
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.3/src/cdn.cls.php#L394 — CVE Program
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.3/src/cdn.cls.php#L421 — CVE Program
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.3/src/utility.cls.php#L297 — CVE Program
- https://github.com/litespeedtech/lscache_wp/commit/ebffeecbcc977f4503af439c1ed09cc89c5af011 — CVE Program
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.4/src/cdn.cls.php — CVE Program
Weaknesses (CWE): CWE-79
Relevant change history
Published
Preliminary advisory published.