CVE-2026-5032: boldgrid w3_total_cache
Vulnerability summary
CVE-2026-5032 is a high (CVSS 7.5) vulnerability in boldgrid w3_total_cache. EPSS estimates a 2.66% chance of exploitation in the next 30 days, higher than 85.5% of scored vulnerabilities.
Timeline
- 02-04-2026PublishedVulnerability first disclosed.
- 08-04-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- wordfenceSource7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
2.66%
Chance of exploitation in the next 30 days
Percentile
86%
Versus all other CVEs
30-day change
-0.40 pp
From 3.06% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Boldgrid1 product
- w3_total_cache≤ 2.9.3
Wordpress1 product
- w3-total-cache≤ 2.9.3 (fixed in 2.9.4)
2 vendors · 2 products