WordPress Plugin Vulnerabilities
W3 Total Cache < 2.9.4 - Unauthenticated Security Token Exposure via User-Agent Header
Description
The plugin is vulnerable to information exposure 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.
Proof of Concept
Affects Plugins
References
Classification
Type
SENSITIVE DATA DISCLOSURE
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
wesley (wcraft)
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2026-04-01 (about 1 month ago)
Added
2026-04-02 (about 1 month ago)
Last Updated
2026-04-13 (about 1 month ago)