Vulnerability · Published Aug 28, 2026 · Assigned by Wordfence
CVE-2026-3129LiteSpeed Cache <= 7.7 - Authenticated (Author+) Stored Cross-Site Scripting via img Tag Attributes
Medium 6.4
In plain English
A medium-severity cross-site scripting in LiteSpeed Cache from litespeedtech. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| litespeedtech | LiteSpeed Cache | 0 – through 7.7 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/c107674d-173f-49cf-b329-e7bffaee841d?source=cve
- https://plugins.trac.wordpress.org/browser/litespeed-cache/trunk/src/media.cls.php#L761
- https://plugins.trac.wordpress.org/changeset/3473912/
- https://blog.litespeedtech.com/2026/08/27/security-update-for-lscwp-cve-2026-3129/