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)
- Affected
- from 4.9.7 before 7.5.8
- Remediation
- Update to 7.5.8 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin High · Affected versions High among sites WPSec scans, 2026-11-26
- Attack surface
- Complianz GDPR/CCPA Cookie Consent Banner on WPSec AttackSurface
- Fix released
- Published
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS