CVE Catalog

CVE-2026-87920

HighCVSS 7.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

14th percentile - higher than 14% of all known CVEs

Summary

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.

Risk Assessment

An attacker can inject malicious scripts that execute in the user's browser, potentially leading to session theft, redirects, or other attacks. This affects the integrity and confidentiality of WordPress sites.

Recommendation

Upgrade the W3 Total Cache plugin to a version later than 2.10.6 that fixes this issue. Consider disabling the 'Remove query strings from static resources' option until patched.

Other vulnerabilities in W3 Total Cache

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS