W3 Total Cache <= 2.8.12 - Unauthenticated Command Injection

8.1
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CVE CVE-2025-9501
CVSS 8.1 (High)
Publicly Published October 27, 2025
Last Updated November 20, 2025
Researcher wesley (wcraft)

Description

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.

References

Share

Vulnerability Details for W3 Total Cache

Software Type Plugin
Software Slug w3-total-cache (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.8.13, or a newer patched version
Affected Version
  • <= 2.8.12
Patched Version
  • 2.8.13

Recent vulnerabilities in W3 Total Cache

# Title CVE ID CVSS Researchers Date
1 W3 Total Cache <= 2.10.3 - Unauthenticated Stored Cross-Site Scripting via Comment Author Name CVE-2026-18109 7.2 daroo August 13, 2026
2 W3 Total Cache <= 2.10.2 - Unauthenticated Path Traversal CVE-2026-66695 5.3 Mykel Nelson July 31, 2026
3 W3 Total Cache <= 2.9.4 - Unauthenticated Arbitrary File Read via 'f_array[]' Parameter CVE-2026-9282 7.5 snr July 10, 2026
4 W3 Total Cache <= 2.9.4 - Unauthenticated Arbitrary Code Execution CVE-2026-57623 8.1 Ananda Dhakal June 29, 2026
5 W3 Total Cache <= 2.9.3 - Unauthenticated Security Token Exposure via User-Agent Header CVE-2026-5032 7.5 wesley (wcraft) April 1, 2026
6 W3 Total Cache <= 2.9.1 - Missing Authorization CVE-2026-39595 4.3 Muhammad Sharief March 12, 2026
7 W3 Total Cache <= 2.9.1 - Unauthenticated Arbitrary Code Execution CVE-2026-27384 9.8 CODE WHITE GmbH February 24, 2026
8 W3 Total Cache <= 2.8.1 - Authenticated (Subscriber+) Missing Authorization to Server-Side Request Forgery CVE-2024-12365 8.5 villu164 January 13, 2025
9 W3 Total Cache <= 2.8.1 Missing Authorization to Unauthenticated Plugin Deactivation and Extensions Activation/Deactivation CVE-2024-12006 5.3 villu164 January 13, 2025
10 W3 Total Cache <= 2.8.1 Information Exposure via Log Files CVE-2024-12008 5.3 villu164 January 13, 2025

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation