W3 Total Cache <= 2.8.12 - Unauthenticated Command Injection
Strategic Overview
<= 2.8.12CVE-2025-9501Vulnerability Overview
The W3 Total Cache plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 2.8.12 via _parse_dynamic_mfunc . This makes it possible for unauthenticated attackers to execute code on the server when comments are enabled and a post has been incorrectly injected with the mfunc tags. Please note we consider this to be a theoretical issue, and as such we rejected the original report from the researcher who then submitted this to WPScan. WPScan assigned a CVE ID, but we do not agree that this is a true security vulnerability. Exploitation of this issue is theoretical and requires gaining access to a secret value much like gaining access to a password.
Technical Analysis
REMEDIATION: Update to version 2.8.13, or a newer patched version --- IDENTIFIER: CWE-78 (Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
External References
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C