๐Ÿ” CVE Alert

CVE-2026-5032

HIGH 7.5

W3 Total Cache <= 2.9.3 - Unauthenticated Security Token Exposure via User-Agent Header

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

The W3 Total Cache plugin for WordPress is vulnerable to information exposure in all versions up to, and including, 2.9.3. This is due to the plugin bypassing its entire output buffering and processing pipeline when the request's User-Agent header contains "W3 Total Cache", which causes raw mfunc/mclude dynamic fragment HTML comments โ€” including the W3TC_DYNAMIC_SECURITY security token โ€” to be rendered in the page source. This makes it possible for unauthenticated attackers to discover the value of the W3TC_DYNAMIC_SECURITY constant by sending a crafted User-Agent header to any page that contains developer-placed dynamic fragment tags, granted the site has the fragment caching feature enabled. With the leaked W3TC_DYNAMIC_SECURITY token, an attacker can craft valid mfunc tags to execute arbitrary PHP code on the server, achieving remote code execution.

CWE CWE-200
Vendor boldgrid
Product w3 total cache
Published Apr 2, 2026
Last Updated Apr 8, 2026
Stay Ahead of the Next One

Get instant alerts for boldgrid w3 total cache

Be the first to know when new high vulnerabilities affecting boldgrid w3 total cache are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

boldgrid / W3 Total Cache
0 โ‰ค 2.9.3

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/a65eb62d-847b-4f3a-848b-1290e3118c01?source=cve plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.9.3/Generic_Plugin.php#L1016 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/changeset/3495959/w3-total-cache

Credits

wesley