LiteSpeed Cache plugin for WordPress CVE-2026-3129: Cross-Site Scripting (XSS)
CVE-2026-3129 (CVSS 6.4, Medium) is a stored cross-site scripting flaw in the LiteSpeed Cache plugin for WordPress up to version 7.7: a flawed regular expression that strips width and height attributes from images, used when Lazy Load Images and Add Missing Sizes are enabled, lets an authenticated user with Author-level access inject scripts through crafted image tag attributes. Update the plugin to a release newer than 7.7, as LiteSpeed's security update advises. LiteSpeed Web Server itself is not affected.
Affected Versions
LiteSpeed Cache plugin for WordPress, up to and including 7.7
What this means under a SharedLicense license
Injected scripts run in visitors' browsers; the attacker needs an Author account on the site and the Lazy Load Images or Add Missing Sizes feature to be enabled.
The LiteSpeed Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via crafted « tag attributes in all versions up to, and including, 7.7. This is due to a
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.
Reference: https://nvd.nist.gov/vuln/detail/CVE-2026-3129
Frequently Asked Questions
Which software is affected by CVE-2026-3129?
Who can exploit CVE-2026-3129?
Does this affect my LiteSpeed server license?
References
Check your system for vulnerabilities
Select your product and operating system to see the exact fix commands that apply to you.
Check Your System