Skip to main content

W3 Total Cache CVE-2026-5032

| EUVDEUVD-2026-18136 HIGH
Information Exposure (CWE-200)
2026-04-02 Wordfence
7.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

4
Re-analysis Queued
Apr 27, 2026 - 19:07 vuln.today
cvss_changed
EUVD ID Assigned
Apr 02, 2026 - 07:45 euvd
EUVD-2026-18136
Analysis Generated
Apr 02, 2026 - 07:45 vuln.today
CVE Published
Apr 02, 2026 - 07:39 nvd
HIGH 7.5

DescriptionCVE.org

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.

AnalysisAI

W3 Total Cache plugin for WordPress exposes security tokens to unauthenticated remote attackers through User-Agent header manipulation. Versions up to 2.9.3 bypass output buffering when requests contain 'W3 Total Cache' in the User-Agent, leaking W3TC_DYNAMIC_SECURITY tokens embedded in dynamic fragment HTML comments. With CVSS 7.5 (AV:N/AC:L/PR:N/UI:N) indicating trivial exploitation requiring no authentication, attackers can extract these tokens from any page using fragment caching, enabling potential security bypass or escalation attacks. Patch available in version 2.9.4+ per upstream changeset.

Technical ContextAI

W3 Total Cache is a WordPress performance optimization plugin (CPE: cpe:2.3:a:boldgrid:w3_total_cache) that implements fragment caching through mfunc/mclude dynamic tags and protects these fragments with a W3TC_DYNAMIC_SECURITY constant. The vulnerability (CWE-200: Information Exposure) occurs in the Generic_Plugin.php output buffering logic where the plugin prematurely terminates processing when detecting its own User-Agent string. This implementation flaw causes raw HTML comments containing security tokens to reach the browser unprocessed. The fragment caching feature uses these tokens as authentication mechanisms for rendering dynamic content within cached pages, making token exposure a critical security control failure that undermines the entire dynamic fragment security model.

RemediationAI

Upgrade W3 Total Cache plugin to version 2.9.4 or later, which addresses the User-Agent bypass vulnerability per the upstream changeset at https://plugins.trac.wordpress.org/changeset/3495959/w3-total-cache. WordPress administrators should access the Plugins dashboard and update through the standard update mechanism. As an interim mitigation for sites unable to immediately patch, disable fragment caching functionality through W3 Total Cache settings (Performance > Fragment Cache) to eliminate token exposure risk, though this reduces caching effectiveness. Web application firewalls can be configured to block requests containing 'W3 Total Cache' in User-Agent headers from non-administrative IP ranges. Comprehensive vulnerability details and affected code analysis available at https://www.wordfence.com/threat-intel/vulnerabilities/id/a65eb62d-847b-4f3a-848b-1290e3118c01?source=cve. Post-patching, consider rotating or regenerating W3TC_DYNAMIC_SECURITY constants if prior exposure is suspected.

CVE-2024-12008 MEDIUM POC
5.3 Jan 14

The W3 Total Cache plugin for WordPress is vulnerable to Information Exposure in all versions up to, and including, 2.8.

CVE-2019-6715 HIGH POC
7.5 Apr 01

pub/sns.php in the W3 Total Cache plugin before 0.9.4 for WordPress allows remote attackers to read arbitrary files via

CVE-2014-9414 MEDIUM POC
6.8 Dec 24

The W3 Total Cache plugin before 0.9.4.1 for WordPress does not properly handle empty nonces, which allows remote attack

CVE-2021-24452 MEDIUM POC
6.1 Jul 19

The W3 Total Cache WordPress plugin before 2.1.5 was affected by a reflected Cross-Site Scripting (XSS) issue within the

CVE-2021-24436 MEDIUM POC
6.1 Jul 19

The W3 Total Cache WordPress plugin before 2.1.4 was vulnerable to a reflected Cross-Site Scripting (XSS) security vulne

CVE-2026-57623 CRITICAL
9.0 Jul 02

Unauthenticated arbitrary code execution affects the W3 Total Cache WordPress caching plugin in all versions up to and i

CVE-2021-24427 MEDIUM POC
4.8 Jul 12

The W3 Total Cache WordPress plugin before 2.1.3 did not sanitise or escape some of its CDN settings, allowing high priv

CVE-2014-8724 MEDIUM POC
4.3 Dec 19

Cross-site scripting (XSS) vulnerability in the W3 Total Cache plugin before 0.9.4.1 for WordPress, when debug mode is e

CVE-2026-78438 HIGH
7.2 Sep 05

Stored Cross-Site Scripting in W3 Total Cache (WordPress plugin) versions up to and including 2.10.5 allows unauthentica

CVE-2026-18109 HIGH
7.2 Aug 14

Stored cross-site scripting in W3 Total Cache WordPress plugin (all versions through 2.10.3) allows unauthenticated atta

CVE-2026-66695 MEDIUM
6.5 Aug 06

Path traversal in W3 Total Cache WordPress plugin (versions ≤ 2.10.2) enables remote unauthenticated attackers to manipu

CVE-2026-39595 MEDIUM
4.7 Jun 17

W3 Total Cache for WordPress (versions through 2.9.1) exposes Author-role users to administrative plugin functions due t

Share

CVE-2026-5032 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy