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.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Any version
Timeline
| 2026-02-17: | Vendor Notified |
| 2026-03-25: | Disclosed |
Credits
Muhammad Yudha - DJ
References
www.wordfence.com/...-42ef-4fd9-a9d5-2a79214be472?source=cve
plugins.trac.wordpress.org/...2/documents/class-document.php
plugins.trac.wordpress.org/...k/documents/class-document.php
plugins.trac.wordpress.org/changeset/3483618/