ZeroHour

CVE-2026-78438

mass

Stored XSS in W3 Total Cache WordPress Plugin via LazyLoad Background Mutator

CVSS 3.1
7.2 high
EPSS
<1%p21
Published
()
Modified
AI analysis

CVE-2026-78438 is a stored cross-site scripting vulnerability in the W3 Total Cache WordPress plugin, affecting all versions up to and including 2.10.5, caused by insufficient input sanitization and output escaping of comment content processed by the LazyLoad Background Mutator. An unauthenticated attacker submits a WordPress comment containing arbitrary web script; once a moderator approves the comment, the injected script executes in the browser of any user who views that page, provided the site has the 'Lazy Load Images' feature with the 'Process background images' option enabled. Successful exploitation allows the attacker to run arbitrary JavaScript in the context of the affected site, enabling actions such as session hijacking, redirecting visitors, or performing administrative actions if an administrator views the infected page. Any WordPress site running W3 Total Cache 2.10.5 or earlier with background-image lazy loading enabled and comment submission open is affected. No public proof-of-concept or confirmed in-the-wild exploitation is currently known; EPSS estimates roughly a 0.3% probability of exploitation within 30 days, and the flaw is not in CISA KEV.

What to do: Update W3 Total Cache to the first release after 2.10.5 as soon as a patched version is published, since 2.10.5 and all earlier versions are vulnerable. As an interim mitigation, disable the 'Process background images' option under Lazy Load Images, or tighten comment moderation and reject comments containing HTML or script markup. Review already-approved comments for injected code, because any existing malicious comment will execute for every visitor viewing that page.

Affected
BoldGrid W3 Total Cache (WordPress plugin)all versions up to and including 2.10.5
Estimated exposure
mass≈1 million WordPress sites (plugin's ~1M active installs; only the subset enabling 'Process background images' is practically exposed) — W3 Total Cache is one of the most widely installed WordPress caching plugins with roughly 1 million active installs per WordPress.org, though only sites that enable Lazy Load Images with background-image processing and accept comments are…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

The W3 Total Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content via LazyLoad Background Mutator in all versions up to, and including, 2.10.5 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires the "Lazy Load Images" feature with "Process background images" to be enabled, and the malicious comment to be approved by a moderator before execution is triggered.

Ecosystems
WordPress
Weakness
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

In the news

No ingested article mentions this CVE yet.