{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-3984",
 "modified": "2026-11-26T12:46:36Z",
 "published": "2026-11-26T12:46:36Z",
 "summary": "Complianz GDPR/CCPA Cookie Consent Banner <= 7.5.7 - Unauthenticated Stored Cross-Site Scripting via Cookie Blocker Image Tag Handling",
 "details": "The Complianz GDPR/CCPA Cookie Consent Banner plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the cookie blocker's image and stylesheet tag handling in all versions up to, and including, 7.5.7. This is due to loose regular expressions that accepted '|' as a quote character and could match '<img' text found inside other attributes' values or across tag boundaries. Visitor-supplied content, such as comment text, could therefore be treated as an image tag and rewritten with inserted double-quoted data attributes, which breaks out of the enclosing attribute and places the attacker-supplied URL text outside it. This makes it possible for unauthenticated attackers to inject arbitrary web scripts into pages that will execute whenever a user accesses an affected page. This requires a blocked service that registers image tags, such as Google Maps.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "complianz-gdpr"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "7.5.8"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 7.5.8"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-3984/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/complianz-gdpr/tags/7.5.8/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/complianz-gdpr/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-3984/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
