W3 Total Cache stored XSS via comment output buffer
W3 Total Cache up to 2.10.6 allows stored XSS via comment content due to insufficient output escaping in the Output-Buffer Regex Rewrite, affecting WordPress sites with commenting enabled.
- Vendor
- BoldGrid
- Product
- W3 Total Cache (WordPress plugin, versions ≤ 2.10.6)
- CVSS
- 7.2
- EPSS (exploit probability)
- 0.2%
- Status
- unpatched
- Published
Is CVE-2026-87920 being exploited?
Not on any exploited-vulnerability catalog we track. CVE-2026-87920 was not on the CISA, ENISA or CIRCL exploited catalogs as of our 2026-11-23 snapshot. That can change quickly; check the write-up below for the latest reporting.
FIRST's EPSS model puts the probability of exploitation activity in the next 30 days at 0.2% (scored October 14, 2026).
- CISA KEV[ — ]
- ENISA EUVD (exploited)[ — ]
- CIRCL KEV[ — ]
Catalog snapshot 2026-11-23. Full cross-catalog view: /kev-comparison
W3 Total Cache (W3TC) processes page output through an Output-Buffer Regex Rewrite in its browser caching layer. In all versions up to and including 2.10.6, the plugin fails to sanitize and escape comment content before writing it into the cached output. A user with comment submission access can inject malicious JavaScript that persists in the site’s output-buffered cache and executes in the browsers of subsequent visitors.
Affected versions: W3 Total Cache up to and including 2.10.6
Impact: Any WordPress site running W3TC with public commenting enabled is affected. Stored payloads execute in visitor context, and administrator sessions are not exempt. Admin-context execution can enable higher-privilege actions depending on the site’s installed plugins and configuration.
Mitigation: No patch has been announced for versions beyond 2.10.6 as of publication. Site administrators should disable the Output-Buffer Regex Rewrite option in W3TC’s Browser Cache settings, or restrict comment submission to authenticated users. Temporarily disabling W3TC’s browser caching module entirely removes the attack surface.
References: