{
 "id": "WPSEC-2026-3984",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3984/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3984/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3984/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-3984.json",
 "title": "Complianz GDPR/CCPA Cookie Consent Banner <= 7.5.7 - Unauthenticated Stored Cross-Site Scripting via Cookie Blocker Image Tag Handling",
 "description": "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.",
 "plugin": {
  "slug": "complianz-gdpr",
  "name": "Complianz GDPR/CCPA Cookie Consent Banner",
  "full_name": "Complianz GDPR/CCPA Cookie Consent Banner",
  "wordpress_org": "https://wordpress.org/plugins/complianz-gdpr/",
  "advisories_url": "https://wpsec.com/vuln/plugin/complianz-gdpr/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/complianz-gdpr"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.4,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "7.5.8",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 7.5.8"
  ]
 },
 "introduced_in": null,
 "fixed_in": "7.5.8",
 "remediation": "Update to 7.5.8 or later.",
 "fix_released": "2026-11-25T11:33:45+00:00",
 "published": "2026-11-26T12:46:36+00:00",
 "updated": "2026-11-26T12:19:42.235802+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3984/",
  "https://plugins.svn.wordpress.org/complianz-gdpr/tags/7.5.8/",
  "https://wordpress.org/plugins/complianz-gdpr/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/complianz-gdpr",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "High",
  "affected_versions": "High",
  "as_of": "2026-11-26"
 }
}