# Complianz GDPR/CCPA Cookie Consent Banner <= 7.5.7 - Unauthenticated Stored Cross-Site Scripting via Elementor and Thrive Architect Cookie Blockers

- **ID:** WPSEC-2026-3982
- **Plugin:** Complianz GDPR/CCPA Cookie Consent Banner (`complianz-gdpr`), https://wordpress.org/plugins/complianz-gdpr/
- **Affected versions:** from 4.9.7 before 7.5.8
- **Fixed in:** 7.5.8 (Update to 7.5.8 or later.)
- **Severity:** High 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin High, affected versions High (as of 2026-11-26)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/complianz-gdpr
- **Fix released:** 2026-11-25
- **Published:** 2026-11-26
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3982/

## Description

The Complianz GDPR/CCPA Cookie Consent Banner plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Elementor and Thrive Architect cookie blocker integrations in all versions up to, and including, 7.5.7. This is due to loose regular expressions that are applied to the full page output and can match across tag boundaries into visitor-supplied markup such as comment text. The matched text was then rewritten with str_replace, which inserted double-quoted attributes and an unescaped placeholder URL in places that could lie inside another attribute's value. This makes it possible for unauthenticated attackers to break out of attribute values and inject arbitrary web scripts into pages that will execute whenever a user accesses an affected page. This affects sites running Elementor or Thrive Architect where YouTube, Vimeo, Facebook or Twitter blocking is enabled.

## References

- https://wpsec.com/vuln/WPSEC-2026-3982/
- https://plugins.svn.wordpress.org/complianz-gdpr/tags/7.5.8/
- https://wordpress.org/plugins/complianz-gdpr/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3982/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
