Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://blog.litespeedtech.com/2026/08/27/security-update-for-lscwp-cve-2026-312
- https://plugins.trac.wordpress.org/browser/litespeed-cache/trunk/src/media.cls.p
- https://plugins.trac.wordpress.org/changeset/3473912/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/c107674d-173f-49cf-b32
FAQ
What is CVE-2026-3129?
CVE-2026-3129 is a vulnerability with a CVSS score of 6.4 (MEDIUM). 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 expr...
How severe is CVE-2026-3129?
CVE-2026-3129 has been rated MEDIUM with a CVSS base score of 6.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-3129?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.