MoreConvert Wishlist for WooCommerce <= 2.0.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via Wishlist Counter Shortcode Icon Attributes

Medium 6.4 CWE-79Fixed in 2.0.5
ID
WPSEC-2026-3701
Plugin
MoreConvert Wishlist for WooCommerce (smart-wishlist-for-more-convert)
Affected
from 2.0.0 before 2.0.5
Remediation
Update to 2.0.5 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-22
Attack surface
MoreConvert Wishlist for WooCommerce on WPSec AttackSurface
Fix released
Published

Description

The MoreConvert Wishlist for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'empty_icon' and 'has_item_icon' attributes of the [wlfmc_wishlist_counter] shortcode in all versions up to, and including, 2.0.4, due to the counter template writing the sanitized SVG icon markup into data-empty-icon and data-has-items-icon attributes with esc_attr(), which does not double-encode existing entities, while the frontend script inserts those attribute values into the page with innerHTML. Entity-encoded text inside the SVG is decoded by the browser and becomes live markup. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

References

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

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

License: CC BY 4.0