eCommerce Product Catalog <= 3.6.5 - Unauthenticated Cross-Site Scripting via Cart Button Label
- ID
- WPSEC-2026-1760
- Plugin
- eCommerce Product Catalog (ecommerce-product-catalog)
- Affected
- all versions before 3.6.6
- Remediation
- Update to 3.6.6 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-27
- Attack surface
- eCommerce Product Catalog on WPSec AttackSurface
- Fix released
- Published
Description
The eCommerce Product Catalog plugin for WordPress is vulnerable to Cross-Site Scripting via the cart button label in all versions up to, and including, 3.6.5, due to insufficient output escaping in the ic_shopping_cart_button() function, which writes the label into the data-label attribute and the button text. The label can be supplied through the 'ic_pre_cached_parts' AJAX action, which unauthenticated users can call without a nonce and which returns the result in a text/html response, and through the content of the [cart_button] shortcode. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute if they can trick a user into submitting a crafted form, and for authenticated attackers with contributor-level access and above to inject scripts into pages that execute whenever a user views them. The cart is only active when the catalog runs in store or inquiry mode.
References
- https://wpsec.com/vuln/WPSEC-2026-1760/
- https://plugins.svn.wordpress.org/ecommerce-product-catalog/tags/3.6.6/
- https://wordpress.org/plugins/ecommerce-product-catalog/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS