Vulnerability Description
The Complianz – GDPR/CCPA Cookie Consent plugin for WordPress is vulnerable to unauthorized data access in all versions up to, and including, 7.4.5 This is due to the REST API endpoint at /wp-json/complianz/v1/consent-area/{post_id}/{block_id} using __return_true as the permission_callback, allowing any unauthenticated user to access it. The cmplz_rest_consented_content() function retrieves a post by ID via get_post() and returns the consentedContent attribute of any complianz/consent-area block found in it, without checking if the post is published or if the user has permission to read it. This makes it possible for unauthenticated attackers to read the consent area block content from private, draft, or unpublished posts.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/complianz/complianz-gdpr/blob/64c09657bd028f62d7b50a54d83ca19
- https://plugins.trac.wordpress.org/browser/complianz-gdpr/tags/7.4.4.2/rest-api/
- https://plugins.trac.wordpress.org/browser/complianz-gdpr/tags/7.4.4.2/rest-api/
- https://plugins.trac.wordpress.org/changeset/3508713/complianz-gdpr/trunk/rest-a
- https://plugins.trac.wordpress.org/changeset?old_path=%2Fcomplianz-gdpr/tags/7.4
- https://www.wordfence.com/threat-intel/vulnerabilities/id/3892489e-6ff7-4664-bb0
FAQ
What is CVE-2026-4019?
CVE-2026-4019 is a vulnerability with a CVSS score of 5.3 (MEDIUM). The Complianz – GDPR/CCPA Cookie Consent plugin for WordPress is vulnerable to unauthorized data access in all versions up to, and including, 7.4.5 This is due to the REST API endpoint at /wp-json/com...
How severe is CVE-2026-4019?
CVE-2026-4019 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-4019?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.