CVE-2026-5032: W3 Total Cache WordPress Plugin - Information Disclosure
- Cve: CVE-2026-5032
- Name: W3 Total Cache WordPress Plugin - Information Disclosure
- 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.
- Impact: Unauthenticated attackers can disclose security tokens, potentially leading to further attacks on the site.
- Remediation: Update to the latest version of W3 Total Cache plugin.
- Vulnerability type: information_disclosure
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.03282
- Epss percentile: 0.88766
- Assignee: [email protected]
- Published at: 2026-04-02T08:16:28Z
- Age in days: 236
- Modified at: 2026-06-17T10:58:18Z
- References total: 4
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-5032
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2026-5032 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-5032.yaml |
References
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| boldgrid:w3_total_cache | <= 2.9.3 | no | cna_alias | /v1/products/boldgrid/w3_total_cache |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, initial access since, hackerone reports, exposed hosts