{
 "id": "WPSEC-2026-3315",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3315/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3315/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3315/index.md",
 "title": "Advanced Product Labels for WooCommerce <= 3.4 - Authenticated (Shop Manager+) Stored Cross-Site Scripting via Label Condition Keys",
 "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.",
 "plugin": {
  "slug": "advanced-product-labels-for-woocommerce",
  "name": "Advanced Product Labels for WooCommerce",
  "full_name": "Advanced Product Labels for WooCommerce",
  "wordpress_org": "https://wordpress.org/plugins/advanced-product-labels-for-woocommerce/",
  "advisories_url": "https://wpsec.com/vuln/plugin/advanced-product-labels-for-woocommerce/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/advanced-product-labels-for-woocommerce"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.4,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "3.6",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 3.6"
  ]
 },
 "introduced_in": null,
 "fixed_in": "3.6",
 "remediation": "Update to 3.6 or later.",
 "fix_released": "2026-11-16T19:10:28+00:00",
 "published": "2026-11-18T13:46:53+00:00",
 "updated": "2026-11-18T13:11:43.868650+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3315/",
  "https://plugins.svn.wordpress.org/advanced-product-labels-for-woocommerce/tags/3.6/",
  "https://wordpress.org/plugins/advanced-product-labels-for-woocommerce/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/advanced-product-labels-for-woocommerce",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-11-18"
 }
}