CVE-2026-3129
The LiteSpeed Cache plugin for WordPress is vulnerable to Stored …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/browser/litespeed-cache/trunk/src/media.cls.php#L761
- plugins.trac.wordpress.org/changeset/3473912/
- www.wordfence.com/threat-intel/vulnerabilities/id/c107674d-173f-49cf-b329-e7bffaee841d?sou
- blog.litespeedtech.com/2026/08/27/security-update-for-lscwp-cve-2026-3129/
- nvd.nist.gov/vuln/detail/CVE-2026-3129
- cve.org/CVERecord?id=CVE-2026-3129
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.