CVE-2026-122065: MoreConvert Wishlist for WooCommerce <= 2.0.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'empty_icon' Shortcode Attribute
The MoreConvert Wishlist for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'emptyicon' parameter in all versions up to, and including, 2.0.4 due to insufficient input sanitization and output escaping. 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. This vulnerability is exploitable even in version 2.0.4 where a patch was attempted, because the sanitizer's single htmlentitydecode pass combined with escattr()'s doubleencode=false behavior leaves entity-encoded inner markup intact, which the counter JavaScript then decodes and assigns to innerHTML, turning inert encoded text back into executable DOM elements.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker must be authenticated to WordPress with contributor-level access or higher. They can inject malicious script through the empty_icon shortcode attribute.
When does the injected script execute?
The script executes when a user accesses a page containing the attacker-injected shortcode content. The affected counter JavaScript decodes the entity-encoded content and assigns it to innerHTML, allowing it to become executable DOM markup.
Is version 2.0.4 protected by the attempted patch?
No. Version 2.0.4 remains exploitable because a single html_entity_decode pass, combined with esc_attr() using double_encode=false, leaves encoded inner markup that is later decoded by JavaScript.