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.1 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. This vulnerability is only exploitable when the HTML Minify option (O_OPTM_HTML_MIN) is enabled and a companion plugin renders stored comment content into a raw-text context such as a JSON-LD script block on the same page.
Fix
Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.
Change history 1
- First seenCVSS 5.4 · litespeedtechNVD modified 2026-10-29 09:25
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.
References 7
- https://www.wordfence.com/threat-intel/vulnerabilities/id/99f876e0-8f13-468b-b5fa-ca61e3cf57b4?source=cve
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.1/lib/html-min.cls.php#L103
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.1/src/optimize.cls.php#L525
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.1/lib/html-min.cls.php#L173
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.1/lib/html-min.cls.php#L205
- https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9.1/src/optimizer.cls.php#L57
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3757253%40litespeed-cache&new=3757253%40litespeed-cache