Premmerce Brands for WooCommerce <= 1.2.16 - Unauthenticated Stored Cross-Site Scripting via 'product_brand' Parameter

High 7.2 CWE-79Fixed in 1.2.17
ID
WPSEC-2026-3937
Plugin
Premmerce Brands for WooCommerce (premmerce-woocommerce-brands)
Affected
all versions before 1.2.17
Remediation
Update to 1.2.17 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-25
Attack surface
Premmerce Brands for WooCommerce on WPSec AttackSurface
Fix released
Published

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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0