{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4389",
 "modified": "2026-12-03T12:50:55Z",
 "published": "2026-12-03T12:50:55Z",
 "summary": "Cozy Blocks – Website Builder & Business Growth Toolkit | Popups, Lead Forms & Inbox <= 2.2.30 - Authenticated (Contributor+) Stored Cross-Site Scripting via Advanced Gallery Block Tab Attributes",
 "details": "The Cozy Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Advanced Gallery block's tab list attributes (tabsList) in all versions from 2.0.11 up to, and including, 2.2.30, due to insufficient output escaping. Each tab's id, and its index key, is printed into the data-slug and data-index HTML attributes of the gallery tab list without escaping. 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.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "cozy-addons"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "2.0.11"
      },
      {
       "fixed": "2.2.31"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 2.0.11 before 2.2.31"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4389/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/cozy-addons/tags/2.2.31/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/cozy-addons/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4389/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
