WPC Smart Wishlist for WooCommerce <= 6.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Continue Shopping 'data-url' and Wishlist Switcher URLs

Medium 5.4 CWE-79Fixed in 6.2.2
ID
WPSEC-2026-4044
Plugin
WPC Smart Wishlist for WooCommerce (woo-smart-wishlist)
Affected
all versions before 6.2.2
Remediation
Update to 6.2.2 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-26
Attack surface
WPC Smart Wishlist for WooCommerce on WPSec AttackSurface
Fix released
Published

Description

The WPC Smart Wishlist for WooCommerce plugin for WordPress is vulnerable to DOM-based Stored Cross-Site Scripting via the continue shopping element's data-url attribute and the wishlist switcher dropdown value in all versions up to, and including, 6.2.1. This is due to the plugin's frontend JavaScript assigning these values to window.location without checking the URL scheme. This makes it possible for authenticated attackers, with contributor-level access and above, to add elements with javascript: URLs to post content. The scripts run when a user clicks the crafted element or changes the dropdown selection.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0