{
 "id": "WPSEC-2026-1760",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1760/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1760/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1760/index.md",
 "title": "eCommerce Product Catalog <= 3.6.5 - Unauthenticated Cross-Site Scripting via Cart Button Label",
 "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.",
 "plugin": {
  "slug": "ecommerce-product-catalog",
  "name": "eCommerce Product Catalog",
  "full_name": "eCommerce Product Catalog",
  "wordpress_org": "https://wordpress.org/plugins/ecommerce-product-catalog/",
  "advisories_url": "https://wpsec.com/vuln/plugin/ecommerce-product-catalog/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/ecommerce-product-catalog"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.1,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "3.6.6",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 3.6.6"
  ]
 },
 "introduced_in": null,
 "fixed_in": "3.6.6",
 "remediation": "Update to 3.6.6 or later.",
 "fix_released": "2026-10-26T13:59:31+00:00",
 "published": "2026-10-27T14:45:37+00:00",
 "updated": "2026-10-27T13:39:36.780663+00:00",
 "also_published_as": null,
 "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/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/ecommerce-product-catalog",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-10-27"
 }
}