# eCommerce Product Catalog <= 3.6.4 - Unauthenticated Reflected Cross-Site Scripting via 'ic-search-keyword' esc_html Filter Bypass

- **ID:** WPSEC-2026-1506
- **Plugin:** eCommerce Product Catalog (`ecommerce-product-catalog`), https://wordpress.org/plugins/ecommerce-product-catalog/
- **Affected versions:** from 3.0.50 before 3.6.5
- **Fixed in:** 3.6.5 (Update to 3.6.5 or later.)
- **Severity:** Medium 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-23)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/ecommerce-product-catalog
- **Fix released:** 2026-10-22
- **Published:** 2026-10-23
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1506/

## Description

The eCommerce Product Catalog plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'ic-search-keyword' esc_html filter bypass in all versions up to, and including, 3.6.4, due to the plugin hooking the global 'esc_html' filter and returning the original, unescaped text whenever it contains the string 'ic-search-keyword'. This turns off esc_html() escaping across the whole site, in WordPress core and in other plugins and themes, for any attacker-supplied value that contains that string. This makes it possible for unauthenticated attackers to inject arbitrary web scripts into pages that execute if they can trick a user, such as an administrator, into performing an action such as clicking on a link.

## References

- https://wpsec.com/vuln/WPSEC-2026-1506/
- https://plugins.svn.wordpress.org/ecommerce-product-catalog/tags/3.6.5/
- https://wordpress.org/plugins/ecommerce-product-catalog/

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

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.
