Complianz – GDPR/CCPA Cookie Consent: Cross-site scripting
Complianz – GDPR/CCPA Cookie Consent is affected by cross-site scripting. Exploitation requires at least contributor-level access. Injected script can execute in the affected site's origin when the vulnerable output is viewed. The published affected range is <= 7.4.4.2.
- Component
- Complianz – GDPR/CCPA Cookie Consent
- Plugin slug
complianz-gdpr- Affected
- <= 7.4.4.2
- Safe version
> 7.4.4.2- Published
- Mar 26, 2026
This CVE was published Mar 26, 2026 and is one of 6 known issues for this plugin.
Patch or disable the affected component.
Update Complianz – GDPR/CCPA Cookie Consent to a release after 7.4.4.2, or disable and remove it until a fixed version is available.
Technical description
The Complianz – GDPR/CCPA Cookie Consent plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 7.4.4.2. This is due to the `revert_divs_to_summary` function replacing `”` HTML entities with literal double-quote characters (`"`) in post content without subsequent sanitization. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses the injected page. The Classic Editor plugin is required to be installed and activated in order to exploit this vulnerability.
CVE / CNA vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N