Complianz GDPR/CCPA Cookie Consent Banner <= 7.5.5 - Unauthenticated Stored Cross-Site Scripting via YotuWP Cookie Blocker
- ID
- WPSEC-2026-0883
- Plugin
- Complianz GDPR/CCPA Cookie Consent Banner (complianz-gdpr)
- Affected
- all versions before 7.5.6
- Remediation
- Update to 7.5.6 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/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-10-14
- 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 YotuWP integration's cookie blocker in all versions up to, and including, 7.5.5, due to a greedy regular expression and string replacements applied to the whole page output buffer. The rewrite inserts unescaped, double-quoted attribute markup wherever it finds the matched tokens, and the matched text can include visitor-supplied content such as comments. As a result, attribute values in that content can be broken out of. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page, on sites where the YotuWP plugin is active and YouTube is set up in Complianz.
References
- https://wpsec.com/vuln/WPSEC-2026-0883/
- https://plugins.svn.wordpress.org/complianz-gdpr/tags/7.5.6/
- https://wordpress.org/plugins/complianz-gdpr/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS