CVE-2026-130318: W3 Total Cache <= 2.11.0 - Unauthenticated Stored Cross-Site Scripting via Comment Content
The W3 Total Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 2.11.0 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 W3 Total Cache CDN feature is enabled, as the vulnerable output-buffer filter is not active otherwise.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
WordPress sites running BoldGrid W3 Total Cache version 2.11.0 or earlier are exposed only if the plugin's CDN feature is enabled. The vulnerable output-buffer filter is not active when that feature is disabled.
Does exploitation require an authenticated WordPress account or user interaction?
No authenticated account is required; an unauthenticated attacker can supply malicious content through the comment parameter. The injected script executes when someone accesses a page containing the stored payload.
What can be done if updating is not immediately possible?
Disable the W3 Total Cache CDN feature to prevent the vulnerable output-buffer filter from being active. This may affect CDN-related caching or delivery behavior.
How can I assess whether my site is affected?
Check whether BoldGrid W3 Total Cache is installed at version 2.11.0 or earlier and whether its CDN feature is enabled. Sites without the CDN feature enabled are not exploitable through the described vulnerable filter.