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.
Published: 2026-09-05
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability allows an unauthenticated attacker to inject arbitrary JavaScript into comments that are later stored and served to site visitors. The injected script is executed after the Lazy Load Images feature processes background images, causing code to run whenever a page containing the malicious comment is viewed. This can lead to session hijacking, defacement, or data theft, compromising the confidentiality, integrity, and availability of site content.

Affected Systems

WordPress sites using the W3 Total Cache plugin version 2.10.5 or earlier are affected. The issue exists only in the Lazy Load Images module when the "Process background images" option is enabled and comments are approved by a moderator.

Risk and Exploitability

The CVSS score of 7.2 indicates a high severity vulnerability. Although the EPSS score is not available, the requirement for unauthenticated access and pre‑approved comments lowers the likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog, but can be leveraged by attackers who gain sufficient comment moderation authority. Attackers would exploit the path by posting a comment with malicious payload and having it approved, after which any reader of the affected page will execute the script.

Generated by OpenCVE AI on September 5, 2026 at 07:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade W3 Total Cache to version 2.10.6 or later to apply the vendor fix.
  • If an upgrade is not immediately possible, disable the "Lazy Load Images" feature or deselect "Process background images" to stop the execution path for injected scripts.
  • Require trusted, authenticated moderators to review and approve comments, reducing the chance that malicious content is approved.
  • Apply a Web Application Firewall or content‑security‑policy that blocks unexpected script execution in comment fields.

Generated by OpenCVE AI on September 5, 2026 at 07:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 05 Sep 2026 07:45:00 +0000

Type Values Removed Values Added
First Time appeared Boldgrid
Boldgrid w3 Total Cache
Wordpress
Wordpress wordpress
Vendors & Products Boldgrid
Boldgrid w3 Total Cache
Wordpress
Wordpress wordpress

Sat, 05 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
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.
Title W3 Total Cache <= 2.10.5 - Unauthenticated Stored Cross-Site Scripting via LazyLoad Background Mutator
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Boldgrid W3 Total Cache
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-09-05T06:37:57.143Z

Reserved: 2026-08-24T16:11:25.968Z

Link: CVE-2026-78438

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-05T07:17:12.580

Modified: 2026-09-05T07:17:12.580

Link: CVE-2026-78438

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T07:30:17Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')