ZeroHour

CVE-2025-9501

mass

Unauthenticated Command Injection in W3 Total Cache WordPress Plugin

CVSS 3.1
9.0 critical
EPSS
20%p97
Published
()
Modified
AI analysis

CVE-2025-9501 is an unauthenticated command injection flaw in the W3 Total Cache WordPress plugin, located in the _parse_dynamic_mfunc function and affecting all versions before 2.8.13. An attacker triggers it by submitting a comment containing a crafted payload to a post on a site running the plugin, causing the injected PHP commands to be parsed and executed; the CVSS high attack complexity (AC:H) indicates certain site conditions must align for exploitation to succeed. Successful exploitation grants arbitrary PHP code/command execution on the web server, and the changed scope in the CVSS vector (S:C) means impact can extend beyond the plugin to the broader hosting environment with high confidentiality, integrity, and availability impact. Any WordPress site running W3 Total Cache prior to 2.8.13 is affected, regardless of the visitor's privileges since the attack requires no authentication and no user interaction. There is currently no known public PoC, the flaw is not in CISA KEV, but EPSS puts the probability of exploitation within 30 days at 20.5% (97th percentile), signaling elevated near-term risk.

What to do: Upgrade W3 Total Cache to version 2.8.13 or later on all affected sites. As an interim mitigation, restrict or moderate comment submission on cached posts (or temporarily disable the plugin) and review recent comments for crafted payloads containing PHP/mfunc-style tags. Although there is no public PoC or KEV listing yet, the elevated EPSS (20.5%, 97th percentile) justifies prioritized patching.

Affected
BoldGrid W3 Total Cache (WordPress plugin)all versions prior to 2.8.13
Estimated exposure
mass≈1,000,000+ WordPress sites (plugin long listed with roughly 1M active installs) — Estimate based on W3 Total Cache's WordPress.org active-install count of approximately 1 million sites, reduced somewhat by installations already updated to 2.8.13 and by configurations where the vulnerable dynamic-parsing code path is not…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

The W3 Total Cache WordPress plugin before 2.8.13 is vulnerable to command injection via the _parse_dynamic_mfunc function, allowing unauthenticated users to execute PHP commands by submitting a comment with a malicious payload to a post.

Ecosystems
WordPress
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

In the news