Skip to main content

LiteSpeed Cache CVE-2026-3129

| EUVDEUVD-2026-67407 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-28 Wordfence GHSA-g9h6-rmm3-xq5v
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate as WordPress Author
  2. Delivery
    Craft img tag with XSS payload in attributes
  3. Exploit
    Publish post or page containing payload
  4. Install
    Victim user visits injected page
  5. C2
    Flawed regex fails to strip malicious attribute content
  6. Execute
    Script executes in victim browser context
  7. Impact
    Exfiltrate session cookie or perform privileged action

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Two specific LiteSpeed Cache plugin configuration features must both be simultaneously enabled: 'Lazy Load Images' and 'Add Missing Sizes'. If either feature is disabled, the vulnerable regex code path in media.cls.php is not invoked and exploitation is not possible regardless of input. The attacker must authenticate to the WordPress instance with at minimum Author-level role; Subscriber-level or unauthenticated users cannot create or edit posts and therefore cannot inject the payload. The flaw is limited to self-hosted WordPress installations running LiteSpeed Cache version 7.7 or earlier - WordPress.com-hosted sites and installations without LiteSpeed Cache are unaffected. Limiting factors for defenders: the dual-feature requirement is a meaningful constraint since both features must be deliberately configured; Author-level access is not granted to arbitrary or unauthenticated users by default; exploitation requires the attacker to publish or update a post, generating a content audit trail in WordPress revision history.

Impact

The NVD-assigned CVSS 6.4 (Medium) captures a network-reachable, low-complexity, low-privilege attack with scope change but limited confidentiality and integrity impact. Real-world risk is moderate and highly deployment-dependent. The most significant constraining factor is the dual-feature requirement: both 'Lazy Load Images' and 'Add Missing Sizes' must be active simultaneously - without both, the vulnerable code path in media.cls.php is not triggered. Additionally, exploitation requires Author-level WordPress credentials, which meaningfully limits exposure on tightly controlled publishing platforms but represents a realistic threat on membership sites, multi-author blogs, or platforms where contributor accounts are granted to partially trusted users. No EPSS data was supplied in the source intelligence, precluding a quantitative exploitation probability assessment. The absence of a CISA KEV listing and publicly available exploit code indicates this has not been observed in mass exploitation campaigns at time of analysis; however, the low technical complexity once prerequisites are met - a simple crafted img tag post - means the barrier to exploitation is low for anyone who already holds Author access. Priority should be HIGH for WordPress sites with untrusted contributors and both features enabled; LOW for single-author or internally-controlled installations.

Exploit ScenarioDerived

An attacker with Author-level credentials to a target WordPress site creates or edits a post containing a crafted img tag - for example, one with a malformed width or height attribute value that embeds a JavaScript event handler - which bypasses the flawed regex in media.cls.php and is stored in the WordPress database. When an administrator, editor, or logged-in user subsequently visits the page containing the injected content, the stored script executes automatically in their browser, potentially exfiltrating their WordPress session cookie to an attacker-controlled server and allowing full account takeover at the victim's privilege level. No publicly available exploit code has been identified at time of analysis, though the technical simplicity of crafting the bypass once the code path is understood reduces the effort required.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 28, 2026

Stored Cross-Site Scripting in LiteSpeed Cache for WordPress (all versions through 7.7) allows authenticated attackers holding Author-level access or higher to inject persistent malicious scripts via specially crafted <img> tag attributes. The defect lives in a flawed regular expression inside the plugin's media class that is invoked only when both the 'Lazy Load Images' and 'Add Missing Sizes' features are simultaneously active, causing attribute-embedded payloads to survive sanitization and be stored in page content. Injected scripts execute in the browser of any subsequent visitor, enabling session hijacking, credential theft, or unauthorized actions on their behalf. No public exploit code and no CISA KEV listing have been identified at time of analysis.

RemediationAI

A fix has been committed to the WordPress plugin repository as confirmed by changeset https://plugins.trac.wordpress.org/changeset/3473912/; however, the exact patched release version number is not stated in the provided data - administrators should update LiteSpeed Cache to the latest available version immediately via the WordPress admin dashboard (Plugins → Updates) or WP-CLI ('wp plugin update litespeed-cache'). Until the patch is applied, the most effective workaround is to disable either the 'Lazy Load Images' feature or the 'Add Missing Sizes' feature in the LiteSpeed Cache settings panel - disabling either one breaks the condition required for exploitation. Note that disabling lazy load may increase initial page load times and bandwidth consumption for image-heavy sites, so assess the performance trade-off before applying this mitigation. As a secondary control, audit and restrict Author-level account creation to verified trusted users, revoke any unnecessary contributor access, and review existing Author accounts for unauthorized activity. A WAF rule blocking img tag attribute injection patterns in authenticated POST requests to WordPress post/page endpoints can provide additional detection coverage.

Affected VersionsENISA

LiteSpeed Cache 0 ≤7.7

Affected Packages

euvd litespeed_cache no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

LiteSpeed Cache (CPE: cpe:2.3:a:litespeedtech:litespeed_cache:*:*:*:*:*:*:*:*) is a widely-deployed WordPress caching and front-end optimization plugin. The flaw is located in src/media.cls.php at approximately line 761, where a regular expression is applied to strip width and height attributes from img elements as part of the lazy-load image optimization pipeline. CWE-79 (Improper Neutralization of Input During Web Page Generation) identifies the root cause class: the regex is insufficiently constrained and can be bypassed by crafting attribute syntax that the pattern fails to match, allowing arbitrary JavaScript event handlers or other XSS vectors embedded in img tag attributes to pass through and be persisted to the database. The CVSS Scope change (S:C) is appropriate here - the injected script executes in the victim's browser security context, crossing the trust boundary from the WordPress application into the broader browser environment, enabling access to cookies, local storage, and authenticated browser sessions scoped to the WordPress origin.

Know when Litespeed Cache gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Stored XSS payload executes only when a victim navigates to the injected page (UI:R); Author-level authentication required (PR:L); script runs in victim browser crossing scope boundary (S:C).

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
High
popular WordPress caching plugin, over five million active installs
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2024-28000 CRITICAL POC
9.8 Aug 21

Privilege escalation in LiteSpeed Cache plugin for WordPress (versions up to and including 6.3.0.1) allows unauthenticat

CVE-2023-40000 HIGH POC
8.3 Apr 16

Stored cross-site scripting in LiteSpeed Cache for WordPress (versions up to and including 5.7) allows remote unauthenti

CVE-2024-47374 HIGH POC
7.1 Oct 05

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in LiteSpeed Technolo

CVE-2024-47637 HIGH
8.8 Oct 16

Relative Path Traversal vulnerability in LiteSpeed Technologies LiteSpeed Cache litespeed-cache allows Path Traversal.4.

CVE-2024-50550 HIGH
8.1 Oct 29

Incorrect Privilege Assignment vulnerability in LiteSpeed Technologies LiteSpeed Cache litespeed-cache allows Privilege

CVE-2023-45000 HIGH
8.2 Apr 16

Missing Authorization vulnerability in LiteSpeed Technologies LiteSpeed Cache.7. Rated high severity (CVSS 8.2), this vu

CVE-2026-18978 HIGH
7.2 Aug 28

Stored XSS in the LiteSpeed Cache WordPress plugin (all versions through 7.8.1) allows unauthenticated attackers to perm

CVE-2026-84761 HIGH
7.2 Sep 03

Unauthenticated SSRF in the LiteSpeed Cache WordPress plugin (versions ≤ 7.9) allows any remote attacker without credent

CVE-2023-4372 MEDIUM
6.4 Jan 11

The LiteSpeed Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'esi' shortcode in version

CVE-2024-47373 MEDIUM
6.5 Oct 05

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in LiteSpeed Technolo

CVE-2026-109215 MEDIUM
6.4 Oct 29

Stored cross-site scripting in the LiteSpeed Cache plugin for WordPress (all versions up to and including 7.9.1) lets au

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy