CVE-2026-131695: LiteSpeed Cache <= 7.9.3 - Unauthenticated Stored Cross-Site Scripting via Comment Content via CDN URL Rewriter
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.
Affected Software
Event History
Frequently Asked Questions
Which sites are exposed to this issue?
Sites using LiteSpeed Cache 7.9.3 or earlier are exposed only if CDN Mapping is enabled and at least one Original URLs entry includes a '*' wildcard. This is a non-default configuration requirement.
What must an attacker do for injected script to execute?
An unauthenticated attacker must submit a malicious comment that is approved and then have a user visit the page containing that comment. Approval occurs immediately if comment moderation is disabled, or automatically after the attacker has one previously approved comment using the same name and email address.
How can I determine whether my site may be affected?
Check the installed LiteSpeed Cache version and review its CDN Mapping configuration. A site may be affected if it runs version 7.9.3 or earlier, CDN Mapping is enabled, and an Original URLs entry contains a '*' wildcard character.