W3 Total Cache
W3 Total Cache < 2.8.13 - Unauthenticated Command Injection
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.8.13
Fixed in 2.8.13
Mitigation
Upgrade W3 Total Cache to 2.8.13 or later.
Timeline
Days relative to CVE publicationFirst public PoC 59 days after publication; not in CISA KEV. First PoC: InnerFireZ/CVE-2025_9501-POC (created 14 Jan 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| InnerFireZ/CVE-2025_9501-POC | 14 Jan 2026 +59 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://wpscan.com/vulnerability/6697a2c9-63ae-42f0-8931-f2e5d67d45ae/ | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /
GET /wp-json/wp/v2/posts
- Query
orderby=dateorder=descper_page=20_embed=- Seen in
- 1 repo: InnerFireZ/CVE-2025_9501-POC
- Evidence
- InnerFireZ/CVE-2025_9501-POC/poc_cve_2025_9501.py:18
POST /wp-comments-post.php
- Body markers
comment_post_ID=author=RCE PoCemail=poc@rce.securityurl=comment=<!-- mfunccomment_parent=0submit=Post Commentinapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36- Seen in
- 1 repo: InnerFireZ/CVE-2025_9501-POC
- Evidence
- InnerFireZ/CVE-2025_9501-POC/poc_cve_2025_9501.py:95
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/\?(?:.*&)?p=.*cmd=
(?i)^/wp-json/wp/v2/posts\?(?:.*&)?orderby=date.*order=desc.*per_page=20.*_embed=
(?i)^/wp-comments-post\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-9501 W3 Total Cache exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"p="; http.uri; content:"cmd="; reference:url,poc.griffinguard.io/cve/CVE-2025-9501; classtype:web-application-attack; sid:9315976; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-9501 W3 Total Cache exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-json/wp/v2/posts"; http.uri; content:"orderby=date"; http.uri; content:"order=desc"; http.uri; content:"per_page=20"; http.uri; content:"_embed="; reference:url,poc.griffinguard.io/cve/CVE-2025-9501; classtype:web-application-attack; sid:9505223; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-9501 W3 Total Cache exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-comments-post.php"; http.request_body; content:"comment_post_ID="; http.request_body; content:"author=RCE PoC"; http.request_body; content:"email=poc@rce.security"; http.request_body; content:"url="; http.request_body; content:"comment=<!-- mfunc"; http.request_body; content:"comment_parent=0"; http.request_body; content:"submit=Post Comment"; reference:url,poc.griffinguard.io/cve/CVE-2025-9501; classtype:web-application-attack; sid:9284311; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: W3 Total Cache exploit attempt (CVE-2025-9501)
id: gg-pocmon-cve-2025-9501-9315976
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-9501. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-9501
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-query|contains|all:
- 'p='
- 'cmd='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.9501
title: W3 Total Cache exploit attempt (CVE-2025-9501)
id: gg-pocmon-cve-2025-9501-9505223
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-9501. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-9501
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-json/wp/v2/posts'
cs-uri-query|contains|all:
- 'orderby=date'
- 'order=desc'
- 'per_page=20'
- '_embed='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.9501
title: W3 Total Cache exploit attempt (CVE-2025-9501)
id: gg-pocmon-cve-2025-9501-9284311
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-9501. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-9501
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-comments-post.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.9501