{
 "id": "WPSEC-2026-4044",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4044/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4044/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4044/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4044.json",
 "title": "WPC Smart Wishlist for WooCommerce <= 6.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Continue Shopping 'data-url' and Wishlist Switcher URLs",
 "description": "The WPC Smart Wishlist for WooCommerce plugin for WordPress is vulnerable to DOM-based Stored Cross-Site Scripting via the continue shopping element's data-url attribute and the wishlist switcher dropdown value in all versions up to, and including, 6.2.1. This is due to the plugin's frontend JavaScript assigning these values to window.location without checking the URL scheme. This makes it possible for authenticated attackers, with contributor-level access and above, to add elements with javascript: URLs to post content. The scripts run when a user clicks the crafted element or changes the dropdown selection.",
 "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": null,
    "from_inclusive": true,
    "to": "6.2.2",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 6.2.2"
  ]
 },
 "introduced_in": null,
 "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-4044/",
  "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"
 }
}