{
 "id": "WPSEC-2026-4043",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4043/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4043/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4043/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4043.json",
 "title": "WPC Smart Wishlist for WooCommerce <= 6.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Wishlist Button 'title' and 'data-product_name' Attributes",
 "description": "The WPC Smart Wishlist for WooCommerce plugin for WordPress is vulnerable to DOM-based Stored Cross-Site Scripting via the wishlist button's title and data-product_name attributes in all versions up to, and including, 6.2.1. This is due to the plugin's frontend JavaScript reading these attribute values, which the browser decodes, and writing them into the wishlist notice with jQuery .html() without escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts into pages by adding crafted wishlist button markup to post content. The scripts execute when a user clicks the injected button.",
 "plugin": {
  "slug": "woo-smart-wishlist",
  "name": "WPC Smart Wishlist for WooCommerce",
  "full_name": "WPC Smart Wishlist for WooCommerce",
  "wordpress_org": "https://wordpress.org/plugins/woo-smart-wishlist/",
  "advisories_url": "https://wpsec.com/vuln/plugin/woo-smart-wishlist/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/woo-smart-wishlist"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "4.0.0",
    "from_inclusive": true,
    "to": "6.2.2",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 4.0.0 before 6.2.2"
  ]
 },
 "introduced_in": "4.0.0",
 "fixed_in": "6.2.2",
 "remediation": "Update to 6.2.2 or later.",
 "fix_released": "2026-11-26T01:53:41+00:00",
 "published": "2026-11-27T02:40:57+00:00",
 "updated": "2026-11-26T12:16:22.133322+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4043/",
  "https://plugins.svn.wordpress.org/woo-smart-wishlist/tags/6.2.2/",
  "https://wordpress.org/plugins/woo-smart-wishlist/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/woo-smart-wishlist",
 "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-26"
 }
}