High severity · published Oct 2, 2026
CVE-2026-87920
W3 Total Cache <= 2.10.6 - Unauthenticated Stored Cross-Site Scripting via Comment Content
7.2
CVSS
0.2%
EPSS
No
On KEV
Description
The W3 Total Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content via Output-Buffer Regex Rewrite in all versions up to, and including, 2.10.6 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 'Remove query strings from static resources' option is enabled in W3 Total Cache, as mutate_url() must strip the '?' delimiter and everything following it — including the closing quote of the outer attribute — to break the attribute boundary.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 15% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WT
W3 Total Cache · boldgrid
through 2.10.6 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-87920
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-87920
www.wordfence.com
https://www.wordfence.com/threat-intel/vulnerabilities/id/34bd7c32-f4c5-4015-909a-e4730f35494b?source=cve
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.10.6/BrowserCache_Plugin.php#L259
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.10.6/BrowserCache_Plugin.php#L208
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.10.6/BrowserCache_Plugin.php#L336
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/changeset?reponame=&new=3723494%40w3-total-cache%2Ftags%2F2.10.7&old=3681561%40w3-total-cache%2Ftags%2F2.10.6
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/changeset/3723494/w3-total-cache/trunk/BrowserCache_Plugin.php
More from W3 Total Cache
9.8
CVE-2013-2010
WordPress W3 Total Cache Plugin 0.9.2.8 has a Remote PHP Code Execution Vulnerability
9.0
CVE-2026-57623
WordPress W3 Total Cache plugin <= 2.9.4 - Arbitrary Code Execution vulnerability
9.0
CVE-2026-27384
WordPress W3 Total Cache plugin <= 2.9.1 - Arbitrary Code Execution vulnerability
8.5
CVE-2024-12365
W3 Total Cache <= 2.8.1 - Authenticated (Subscriber+) Missing Authorization to Server-Side Request Forgery
7.5
CVE-2026-9282
W3 Total Cache <= 2.9.4 - Unauthenticated Arbitrary File Read via 'f_array[]' Parameter
