Vulnerability in W3 Total Cache — CVE-2026-130318
MediumSeverity
0.4%Estimated exploit probability
900,000+ sitesInstalls
2.11.1Fixed in
What to do now
Update W3 Total Cache to 2.11.1 or later.
Affected versions
- Everything up to and including 2.11.0
Affected: W3 Total Cache (plugin, w3-total-cache)
What the vulnerability is
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.
Sources
- https://github.com/BoldGrid/w3-total-cache/tree/2.11.1
- https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.11.0/Cdn_Plugin.php#L1144
- https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.11.0/Cdn_Plugin.php#L1217
- https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.11.0/Cdn_Plugin.php#L1260
- https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.11.0/Cdn_Plugin.php#L496
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6fc81b51-4bda-4267-82c9-2c767cbe39b7?source=cve