WPC Smart Wishlist for WooCommerce <= 6.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Wishlist Button 'title' and 'data-product_name' Attributes

Medium 5.4 CWE-79Fixed in 6.2.2
ID
WPSEC-2026-4043
Plugin
WPC Smart Wishlist for WooCommerce (woo-smart-wishlist)
Affected
from 4.0.0 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 wishlist button's title and data-product_name attributes in all versions up to, and including, 6.2.1. This is due to the plugin's frontend JavaScript reading these attribute values, which the browser decodes, and writing them into the wishlist notice with jQuery .html() without escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts into pages by adding crafted wishlist button markup to post content. The scripts execute when a user clicks the injected button.

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