Advanced Product Labels for WooCommerce <= 3.4 - Authenticated (Shop Manager+) Stored Cross-Site Scripting via Label Condition Keys

Medium 4.4 CWE-79Fixed in 3.6
ID
WPSEC-2026-3315
Plugin
Advanced Product Labels for WooCommerce (advanced-product-labels-for-woocommerce)
Affected
all versions before 3.6
Remediation
Update to 3.6 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-18
Attack surface
Advanced Product Labels for WooCommerce on WPSec AttackSurface
Fix released
Published

Description

The Advanced Product Labels for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the label conditions settings in all versions up to, and including, 3.4. This is due to insufficient input sanitization and output escaping of the condition group and condition array keys, which are saved unchanged in label post meta and echoed into HTML attributes by the conditions template. This makes it possible for authenticated attackers with shop manager-level access and above to inject arbitrary web scripts that execute whenever a user opens the affected label's edit page. This only affects installations where such users lack the unfiltered_html capability, such as multisite installations.

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