What the vulnerability does
01Description
The LiteSpeed Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via crafted `<img>` tag attributes in all versions up to, and including, 7.7. This is due to a flawed regular expression that is used to strip `width` and `height` attributes from images when the "Lazy Load Images" and "Add Missing Sizes" features are enabled. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that execute whenever a user accesses an injected page.
Explanation of Vulnerability in Simple Terms
02Summary
LiteSpeed Cache versions 7.7 and earlier contain a stored cross-site scripting (XSS) vulnerability. An authenticated user with low privileges can inject malicious scripts that execute in the browsers of other site visitors, including administrators. The vulnerability affects the scope beyond the vulnerable component itself, potentially compromising site security and user data.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in other users' browsers, including administrators.
Potential impact on your site
04Site Impact
Attackers with low-privilege accounts can steal admin credentials, deface content, or compromise visitor data.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege authenticated account on the site.
Key dates
06Disclosure timeline
August 28, 2026
CVE published