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

CVE-2025-24657: WooCommerce Wishlist Plugin XSS Vulnerability

CVE-2025-24657 is a stored cross-site scripting flaw in WebToffee Wishlist for WooCommerce plugin affecting versions up to 2.1.2. This article covers the technical details, security implications, and remediation steps.

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-24657 Overview

CVE-2025-24657 is a stored Cross-Site Scripting (XSS) vulnerability in the WebToffee Wishlist for WooCommerce plugin (wt-woocommerce-wishlist) for WordPress. The flaw stems from improper neutralization of user-supplied input during web page generation [CWE-79]. Attackers with high privileges can inject persistent JavaScript payloads that execute in the browser of any user viewing the affected page. The issue affects all plugin versions up to and including 2.1.2. Exploitation requires user interaction, and the scope change in the CVSS vector indicates impact extending beyond the vulnerable component.

Critical Impact

Authenticated attackers can store malicious scripts that execute against site visitors and administrators, enabling session theft, administrative action hijacking, and defacement.

Affected Products

  • WebToffee Wishlist for WooCommerce plugin
  • Plugin slug: wt-woocommerce-wishlist
  • All versions from n/a through 2.1.2

Discovery Timeline

  • 2025-01-24 - CVE-2025-24657 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-24657

Vulnerability Analysis

The vulnerability is a stored Cross-Site Scripting flaw classified under [CWE-79]. The plugin fails to properly sanitize or encode user-controlled input before rendering it within HTML output. As a result, script content supplied by an attacker persists in the WordPress database and executes in the browser context of every user who loads the affected page. The scope change indicated in the CVSS vector reflects that the injected script executes under the origin of the WordPress site, affecting components beyond the plugin itself.

Root Cause

The root cause is missing or insufficient output encoding when the plugin renders stored data back to the page. Input accepted through plugin forms or settings reaches HTML sinks without passing through WordPress sanitization helpers such as esc_html(), esc_attr(), or wp_kses(). Any HTML or JavaScript syntax contained in that input is interpreted by the browser rather than rendered as text.

Attack Vector

Exploitation requires an authenticated account with high privileges on the target WordPress site. The attacker submits a payload containing JavaScript into a plugin field that stores and later redisplays the value. When another user, including an administrator or shop visitor, loads the page that renders the stored content, the script executes in their session. The script can steal authentication cookies, perform actions on behalf of the victim, or pivot to further compromise of the WordPress environment.

For technical specifics, refer to the PatchStack Vulnerability Report.

Detection Methods for CVE-2025-24657

Indicators of Compromise

  • Unexpected <script>, <svg>, or onerror attributes stored in WordPress wp_options, wp_postmeta, or plugin-specific tables.
  • Outbound requests from browser sessions to unfamiliar domains after visiting wishlist pages.
  • WordPress administrator accounts performing actions the user did not initiate, such as creating new privileged users.

Detection Strategies

  • Audit plugin-stored content in the database for HTML event handlers and <script> tags using regular expression queries.
  • Enable WordPress audit logging for plugin setting changes and content submissions.
  • Deploy a Content Security Policy (CSP) in report-only mode to surface inline script violations originating from plugin pages.

Monitoring Recommendations

  • Monitor web server access logs for POST requests to wt-woocommerce-wishlist endpoints followed by GET requests that render the stored payload.
  • Alert on anomalous admin session activity such as new user creation or role elevation shortly after wishlist page visits.
  • Track browser-reported CSP violations to identify active injection attempts.

How to Mitigate CVE-2025-24657

Immediate Actions Required

  • Update the WebToffee Wishlist for WooCommerce plugin to a version later than 2.1.2 once released by the vendor.
  • Review existing wishlist and plugin configuration data for injected scripts and remove any suspicious entries.
  • Rotate credentials and session tokens for WordPress administrators who may have viewed compromised pages.

Patch Information

At the time of publication, the advisory lists versions through 2.1.2 as affected. Monitor the PatchStack Vulnerability Report and the WebToffee vendor channel for a fixed release and apply it across all WordPress environments running the plugin.

Workarounds

  • Restrict high-privilege WordPress accounts to a minimal set of trusted administrators until a patch is applied.
  • Deploy a Web Application Firewall (WAF) rule that blocks HTML and JavaScript syntax in requests targeting wt-woocommerce-wishlist endpoints.
  • Enforce a strict Content Security Policy that disallows inline scripts to reduce the impact of stored payloads.
  • Disable the plugin if it is not business-critical until a fixed version is available.

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.