Severity by source
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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Lifecycle Timeline
4DescriptionCVE.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.
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Country State City Dropdown CF7 plugin for WordPress is vulnerable to SQL Injection via the ‘cnt’ and 'sid' paramete
Same weakness CWE-200 – Information Exposure
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-18136