LiteSpeed Cache <= 7.9 - Reflected Cross-Site Scripting via ESI 'esi' Parameter
- 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 vulnerable to Reflected Cross-Site Scripting via the 'esi' parameter in all versions up to, and including, 7.9 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. Exploitation requires that the attacker supply a validly signed 'esi' value in the GET query string while submitting a separate attacker-controlled 'esi' payload as a POST body field, relying on PHP's default $_REQUEST merge order to have the POST value take precedence at the point of execution.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- litespeedtech LiteSpeed Cache
through 7.9
References 7
plugins.trac.wordpress.org
- browser/litespeed-cache/tags/7.9/src/esi.cls.php#L855
- browser/litespeed-cache/tags/7.9/src/esi.cls.php#L617
- browser/litespeed-cache/tags/7.9/src/esi.cls.php#L591
- browser/litespeed-cache/tags/7.9/src/esi.cls.php#L566
- changeset?reponame=&new=3676856%40litespeed-cache%2Ftags%2F7.9.1&old=3635849%40litespeed-cache%2Ftags%2F7.9
- changeset/3676856/litespeed-cache/trunk/src/esi.cls.php