Description
The W3 Total Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Author Name in all versions up to, and including, 2.10.3 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 vulnerability is only exploitable when the Lazy Load Images feature of W3 Total Cache is enabled, as the unsafe re-emission occurs exclusively within the LazyLoad mutator's img tag rewriting step.
Published: 2026-08-14
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability exists because the plugin does not properly sanitize or escape the comment author name input. The stored comment data is later reused during the Lazy Load images processing, allowing an attacker to inject arbitrary JavaScript. Unauthenticated users can submit a malicious comment, and any visitor to the affected page will execute the injected script, enabling defacement, cookie theft or execution of arbitrary code in the attacker’s browser context.

Affected Systems

This flaw affects the BoldGrid W3 Total Cache WordPress plugin versions up to and including 2.10.3. Any WordPress site that has installed one of those releases and has the Lazy Load Images feature turned on is vulnerable. The issue does not affect other plugins or core WordPress.

Risk and Exploitability

The CVSS score of 7.2 reflects a high risk impact. The EPSS is not available, but the vulnerability is not listed in the CISA KEV catalog. Exploitation requires only an unauthenticated comment submission and the Lazy Load feature, making it relatively easy to trigger. Once exploited, the script runs in the context of any user who views the page, potentially giving attackers the ability to perform client‑side attacks such as session hijacking or site defacement.

Generated by OpenCVE AI on August 14, 2026 at 04:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest available update for W3 Total Cache to version 2.10.4 or newer, which removes the insecure code path.
  • If an update is not possible immediately, disable the Lazy Load Images feature in the plugin settings to prevent the unsafe re‑emission of comment data.
  • Configure comment moderation or implement server‑side filtering to remove or neutralize suspicious characters in comment author names before storage.
  • Continuously monitor the site for unusual script injection patterns in comments and consider disabling or replacing the plugin if it cannot be updated in a timely manner.

Generated by OpenCVE AI on August 14, 2026 at 04:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 04: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

Fri, 14 Aug 2026 03:00:00 +0000

Type Values Removed Values Added
Description The W3 Total Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Author Name in all versions up to, and including, 2.10.3 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 vulnerability is only exploitable when the Lazy Load Images feature of W3 Total Cache is enabled, as the unsafe re-emission occurs exclusively within the LazyLoad mutator's img tag rewriting step.
Title W3 Total Cache <= 2.10.3 - Unauthenticated Stored Cross-Site Scripting via Comment Author Name
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-08-14T02:25:46.296Z

Reserved: 2026-07-28T17:58:13.591Z

Link: CVE-2026-18109

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-14T03:16:19.363

Modified: 2026-08-14T03:16:19.363

Link: CVE-2026-18109

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T04:30:17Z

Weaknesses
  • CWE-79

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