CVE-2026-5032

HighCVSS 7.5/10Last modified Jun 17, 2026

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.

Metrics

CVSS 3.1 7.5/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Apr 2, 2026
Last modified
Jun 17, 2026
NVD status
Deferred

Related CVEs from 2026

CVE-2026-503217.0Concurrent execution using shared resource with improper synchronization ('race condition') in Windows USB Driver allows an authorized attacCVE-2026-503227.0Concurrent execution using shared resource with improper synchronization ('race condition') in Windows Runtime allows an authorized attackerCVE-2026-503237.0Use after free in Windows Runtime allows an authorized attacker to elevate privileges locally.CVE-2026-503245.9Loop with unreachable exit condition ('infinite loop') in Active Directory Federation Services (AD FS) allows an unauthorized attacker to deCVE-2026-503257.0Improper access control in Windows Win32K allows an authorized attacker to elevate privileges locally.CVE-2026-503267.8Use after free in Windows Unified Consent System allows an authorized attacker to elevate privileges locally.CVE-2026-503277.8Heap-based buffer overflow in Windows Media allows an authorized attacker to execute code locally.CVE-2026-503287.5Uncaught exception in Windows Server Update Service allows an unauthorized attacker to perform tampering over a network.CVE-2026-503297.8Use after free in Windows Kernel allows an authorized attacker to elevate privileges locally.CVE-2026-50339.8A vulnerability was detected in code-projects Accounting System 1.0. Affected by this vulnerability is an unknown functionality of the file CVE-2026-503309.8Heap-based buffer overflow in Remote Desktop Client allows an unauthorized attacker to elevate privileges over a network.CVE-2026-503317.8Use after free in Windows Application Model allows an authorized attacker to elevate privileges locally.