Skip to main content
Vulnerability Database/CVE-2025-48237

CVE-2025-48237: WooCommerce Wishlist Plugin XSS Vulnerability

CVE-2025-48237 is a stored XSS vulnerability in WPFactory Wishlist for WooCommerce plugin that allows attackers to inject malicious scripts. This article covers the technical details, affected versions through 3.2.2, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-48237 Overview

CVE-2025-48237 is a stored cross-site scripting (XSS) vulnerability in the WPFactory Wishlist for WooCommerce plugin (wish-list-for-woocommerce) for WordPress. The flaw results from improper neutralization of user-supplied input during web page generation [CWE-79]. Attackers with low-privilege authenticated access can inject malicious JavaScript that persists in the application and executes in the browser of any user who views the affected page. The issue affects all versions of the plugin up to and including 3.2.2. Because the scope is changed per the CVSS vector, successful exploitation can impact resources beyond the vulnerable component, including other users' sessions in the WordPress site.

Critical Impact

Stored JavaScript payloads execute in victim browsers, enabling session theft, administrative action forgery, and WordPress site compromise through administrator interaction.

Affected Products

  • WPFactory Wishlist for WooCommerce plugin versions through 3.2.2
  • WordPress sites running the wish-list-for-woocommerce plugin
  • WooCommerce storefronts that expose wishlist functionality to authenticated users

Discovery Timeline

  • 2025-05-19 - CVE-2025-48237 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-48237

Vulnerability Analysis

The vulnerability is a stored XSS flaw in the Wishlist for WooCommerce plugin. Input submitted through plugin-controlled fields is written to persistent storage without adequate sanitization or output encoding. When the stored value is later rendered in a web page, the browser interprets injected markup and script as part of the trusted document. The attack requires low privileges and user interaction, consistent with a scenario where an authenticated user plants a payload that fires when another user, such as a shop administrator, views the affected view. The scope change in the CVSS vector reflects that the executed script runs in the WordPress application context, not merely the plugin surface.

Root Cause

The root cause is missing or insufficient output encoding on user-controlled fields handled by the plugin. The plugin does not consistently apply WordPress sanitization helpers such as esc_html(), esc_attr(), or wp_kses_post() before rendering stored values. This permits HTML and JavaScript tokens to survive the storage and rendering pipeline.

Attack Vector

An authenticated attacker submits a crafted payload through a plugin input vector that stores content linked to wishlist functionality. The payload persists in the database. When a victim loads a page that includes the stored content, the browser executes the attacker's script. Consequences include cookie and session token exfiltration, forced actions through the WordPress REST API, and persistence through administrative account takeover. Technical details are documented in the Patchstack XSS Vulnerability Report.

Detection Methods for CVE-2025-48237

Indicators of Compromise

  • Wishlist records or related plugin fields containing <script>, onerror=, onload=, or javascript: tokens
  • Unexpected administrator account creation or role changes following views of wishlist pages
  • Outbound requests from administrator browsers to unfamiliar domains after loading WooCommerce admin views
  • WordPress audit log entries showing option or user table modifications shortly after an admin session on a wishlist page

Detection Strategies

  • Query the WordPress database for plugin-managed records containing HTML event handlers or script tags
  • Enable a web application firewall rule set that flags XSS payload patterns in POST bodies to wp-admin/admin-ajax.php and wishlist endpoints
  • Review browser Content Security Policy violation reports for inline script execution on store pages

Monitoring Recommendations

  • Monitor plugin version inventory to identify sites running wish-list-for-woocommerce 3.2.2 or earlier
  • Alert on new administrator accounts or capability changes immediately following wishlist page loads
  • Track anomalous JavaScript execution and DOM modifications on authenticated WooCommerce sessions

How to Mitigate CVE-2025-48237

Immediate Actions Required

  • Update the Wishlist for WooCommerce plugin to a version later than 3.2.2 once a patched release is available
  • Audit existing wishlist entries and plugin-managed metadata for stored script payloads and remove them
  • Rotate administrator session cookies and credentials if exploitation is suspected
  • Restrict wishlist feature access to trusted authenticated users while patching is pending

Patch Information

Consult the Patchstack XSS Vulnerability Report for the latest fixed version information. Apply the vendor update through the WordPress plugin manager or by replacing the plugin files on disk.

Workarounds

  • Disable the Wishlist for WooCommerce plugin until a fixed version is deployed
  • Deploy a WordPress-aware web application firewall with virtual patching for XSS payloads targeting the plugin
  • Enforce a strict Content Security Policy that blocks inline script execution on WooCommerce front-end and admin pages
  • Limit account creation and require administrators to review wishlist data in a sandboxed browser profile
bash
# Configuration example: disable the plugin via WP-CLI pending a patched release
wp plugin deactivate wish-list-for-woocommerce
wp plugin status wish-list-for-woocommerce

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.