LiteSpeed Cache <= 7.9.1 - Unauthenticated Stored Cross-Site Scripting via HTML Minifier Predictable Placeholder (md5(REQUEST_TIME) + two-pass str_replace)
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
The LiteSpeed Cache plugin for WordPress is affected, allowing unauthenticated attackers to store malicious scripts that run in visitors' browsers when they load an affected page. The issue only arises when the HTML minification option is enabled and a companion plugin outputs stored comment content in a raw-text context on the same page.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original 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.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.
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- litespeedtech LiteSpeed Cache
through 7.9.1
References 7
plugins.trac.wordpress.org
- browser/litespeed-cache/tags/7.9.1/lib/html-min.cls.php#L103
- browser/litespeed-cache/tags/7.9.1/src/optimize.cls.php#L525
- browser/litespeed-cache/tags/7.9.1/lib/html-min.cls.php#L173
- browser/litespeed-cache/tags/7.9.1/lib/html-min.cls.php#L205
- browser/litespeed-cache/tags/7.9.1/src/optimizer.cls.php#L57
- changeset?reponame=&old=3757253%40litespeed-cache&new=3757253%40litespeed-cache