eCommerce Product Catalog <= 3.6.5 - Unauthenticated Cross-Site Scripting via Cart Button Label

Medium 6.1 CWE-79Fixed in 3.6.6
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

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