{
 "id": "WPSEC-2026-0445",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0445/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0445/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0445/index.md",
 "title": "YITH WooCommerce Compare <= 3.14.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via yith_woocompare_counter Shortcode Attributes",
 "description": "The YITH WooCommerce Compare plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'text', 'type', 'show_icon' and 'icon' attributes of the yith_woocompare_counter shortcode in all versions up to, and including, 3.14.0 due to insufficient input sanitization and output escaping on user supplied attributes, including values containing escape sequences decoded during shortcode attribute parsing. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.",
 "plugin": {
  "slug": "yith-woocommerce-compare",
  "name": "YITH WooCommerce Compare",
  "full_name": "YITH WooCommerce Compare",
  "wordpress_org": "https://wordpress.org/plugins/yith-woocommerce-compare/",
  "advisories_url": "https://wpsec.com/vuln/plugin/yith-woocommerce-compare/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/yith-woocommerce-compare"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "3.15.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 3.15.0"
  ]
 },
 "introduced_in": null,
 "fixed_in": "3.15.0",
 "remediation": "Update to 3.15.0 or later.",
 "fix_released": "2026-10-05T15:05:11+00:00",
 "published": "2026-10-06T15:43:30+00:00",
 "updated": "2026-10-06T13:02:33.365873+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0445/",
  "https://plugins.svn.wordpress.org/yith-woocommerce-compare/tags/3.15.0/",
  "https://wordpress.org/plugins/yith-woocommerce-compare/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/yith-woocommerce-compare",
 "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-10-06"
 }
}