CVE-2026-3129 MEDIUM

CVE-2026-3129: LiteSpeed Cache <= 7.7 - Authenticated (Author+) Stored Cross-Site Scripting via img Tag Attributes

Vendor Litespeedtech
Product LiteSpeed Cache
Weakness CWE-79 · XSS
Published August 28, 2026
Last update August 28, 2026

CVSS base score

6.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

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

Related vulnerabilities

08Related CVE