CVE-2026-5032: W3 Total Cache <= 2.9.3 - Unauthenticated Security Token Exposure via User-Agent Header

Published Apr 2, 2026
·
Updated

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 W3TCDYNAMICSECURITY security token — to be rendered in the page source. This makes it possible for unauthenticated attackers to discover the value of the W3TCDYNAMICSECURITY 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 W3TCDYNAMICSECURITY token, an attacker can craft valid mfunc tags to execute arbitrary PHP code on the server, achieving remote code execution.

Affected Software

1 affected component
W3 Total Cache W3 Total Cache<=2.9.3

Event History

Apr 2, 2026
CVE Published
via MITRE·07:39 AM
Data Sourced
via MITRE·07:39 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 AM
DescriptionSeverityWeakness
Jan 20, 58241
Event
via FIRST·11:22 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-5032?

The severity of CVE-2026-5032 is considered to be high due to potential information exposure risks.

2

How do I fix CVE-2026-5032?

To mitigate CVE-2026-5032, update the W3 Total Cache plugin to version 2.9.4 or later.

3

What types of information are exposed by CVE-2026-5032?

CVE-2026-5032 exposes security tokens via the User-Agent header, which can be intercepted by malicious actors.

4

Is CVE-2026-5032 present in all versions of W3 Total Cache?

CVE-2026-5032 affects all versions of W3 Total Cache up to and including 2.9.3.

5

Who is affected by CVE-2026-5032 vulnerabilities?

Any WordPress site using W3 Total Cache version 2.9.3 or earlier is vulnerable to CVE-2026-5032.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203