# MC Woocommerce Wishlist <= 2.0.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via wlfmc_wishlist_counter Shortcode Icon Attributes

- **ID:** WPSEC-2026-2346
- **Plugin:** MoreConvert Wishlist for WooCommerce (`smart-wishlist-for-more-convert`), https://wordpress.org/plugins/smart-wishlist-for-more-convert/
- **Affected versions:** all versions before 2.0.4
- **Fixed in:** 2.0.4 (Update to 2.0.4 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/smart-wishlist-for-more-convert
- **Fix released:** 2026-11-02
- **Published:** 2026-11-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2346/

## 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.3, due to insufficient input sanitization and output escaping. The attribute values are HTML-entity-decoded twice and concatenated unescaped into icon markup, which the plugin's front-end script later inserts into the page as HTML. 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

- https://wpsec.com/vuln/WPSEC-2026-2346/
- https://plugins.svn.wordpress.org/smart-wishlist-for-more-convert/tags/2.0.4/
- https://wordpress.org/plugins/smart-wishlist-for-more-convert/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-2346/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
