{
 "id": "WPSEC-2026-3937",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3937/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3937/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3937/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-3937.json",
 "title": "Premmerce Brands for WooCommerce <= 1.2.16 - Unauthenticated Stored Cross-Site Scripting via 'product_brand' Parameter",
 "description": "The Premmerce Brands for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'product_brand' parameter in all versions up to, and including, 1.2.16. This is due to a missing capability and nonce check in the brand save handler hooked to 'woocommerce_product_bulk_and_quick_edit'. That hook fires on every post save made in an admin context, including an anonymous checkout sent through admin-ajax.php. The handler passes the raw value to wp_set_post_terms(), which creates new brand terms. The plugin also fails to escape brand names when it outputs them in the brands page, brands widget and product brand templates. This makes it possible for unauthenticated attackers to create brand terms with arbitrary names. A name can break out of an HTML attribute and inject arbitrary web scripts that execute whenever a user opens a page that displays the brands.",
 "plugin": {
  "slug": "premmerce-woocommerce-brands",
  "name": "Premmerce Brands for WooCommerce",
  "full_name": "Premmerce Brands for WooCommerce",
  "wordpress_org": "https://wordpress.org/plugins/premmerce-woocommerce-brands/",
  "advisories_url": "https://wpsec.com/vuln/plugin/premmerce-woocommerce-brands/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/premmerce-woocommerce-brands"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 7.2,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "1.2.17",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 1.2.17"
  ]
 },
 "introduced_in": null,
 "fixed_in": "1.2.17",
 "remediation": "Update to 1.2.17 or later.",
 "fix_released": "2026-11-24T21:26:56+00:00",
 "published": "2026-11-25T21:42:29+00:00",
 "updated": "2026-11-25T09:58:06.008146+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3937/",
  "https://plugins.svn.wordpress.org/premmerce-woocommerce-brands/tags/1.2.17/",
  "https://wordpress.org/plugins/premmerce-woocommerce-brands/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/premmerce-woocommerce-brands",
 "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-11-25"
 }
}