{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-0693",
 "modified": "2026-11-23T07:06:33Z",
 "published": "2026-10-10T15:41:27Z",
 "summary": "HUSKY <= 1.4.2 - Authenticated (Shop Manager+) Stored Cross-Site Scripting via 'JavaScript code after AJAX is done' Setting",
 "details": "The HUSKY – Products Filter for WooCommerce Professional plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'JavaScript code after AJAX is done' (js_after_ajax_done) setting in all versions up to, and including, 1.4.2. This is due to the settings save routine requiring only the manage_woocommerce capability, not unfiltered_html, before storing JavaScript that is printed unescaped into the front-end inline script. This makes it possible for authenticated attackers with Shop Manager-level access and above, who lack the unfiltered_html capability, to inject arbitrary web scripts that execute in the browsers of visitors using the product filter.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "woocommerce-products-filter"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "1.4.5"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 1.4.5"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-0693/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/woocommerce-products-filter/tags/1.4.5/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/woocommerce-products-filter/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-0693/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
