Complianz – GDPR/CCPA Cookie Consent <= 7.4.5 - Missing Authorization to Unauthenticated Private Post Content Disclosure via Consent Area REST Endpoint
Strategic Overview
- Status
- Patched in 7.4.6
- Affected Plugin
- Complianz – GDPR/CCPA Cookie Consent
- Affected Version
<= 7.4.5- CVSS
- 5.3Medium
- Weakness type
- CWE-862 · Missing Authorization
- CVE
CVE-2026-4019
At a glance
CVE-2026-4019 is a medium-severity Missing Authorization vulnerability in the Complianz WordPress plugin, affecting versions <= 7.4.5. It carries a CVSS score of 5.3 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 7.4.6; sites on affected versions should update now. Disclosed April 2026, reported by Wesley van de Kamp.
Vulnerability Overview
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.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user.
CWE-862: Missing Authorization
Complianz <= 7.4.5 carries this weakness at cmplz_rest_consented_content(), and reaching it takes no account at all. A missing authorization check means a function is reachable by anyone who can reach the endpoint, because the code never asks whether the caller is allowed to perform the action.
Any user who can reach the endpoint gets to run an action reserved for higher-privileged roles, from reading protected data to changing settings or content. For Complianz the fix is 7.4.6: builds <= 7.4.5 are affected, anything from 7.4.6 onward is not.
Remediation
Update to version 7.4.6, or a newer patched version
How does WordSec protect against this?
This one needs no account at all, which puts it outside what login hardening can reach; WordSec's login security narrows the account-level paths around it, and the firewall is what inspects the request itself. None of that substitutes for the fix: Complianz 7.4.6 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Other vulnerabilities in Complianz – GDPR/CCPA Cookie Consent
- 8.8CVE-2022-3494: Complianz Free & Premium <= 6.3.5 - SQL Injection
CVE-2022-3494 - 6.6CVE-2026-65497: Complianz PHP Object Injection
CVE-2026-65497 - 6.4CVE-2026-65496: Complianz – GDPR/CCPA Cookie Consent <= 7.5.1 SSRF
CVE-2026-65496 - 6.4CVE-2025-11185: Complianz | GDPR/CCPA Cookie Consent Stored XSS
CVE-2025-11185 - 6.4CVE-2023-1069: Complianz - GDPR/CCPA Cookie Consent Stored XSS
CVE-2023-1069 - 6.1CVE-2023-33333: Complianz (Premium <= 6.4.6.1) - CSRF
CVE-2023-33333 - 6.1CVE-2023-33333: Complianz - GDPR/CCPA Cookie Consent <= 6.4.4 CSRF
CVE-2023-33333 - 6.1CVE-2023-33333: Complianz - GDPR/CCPA Cookie Consent <= 6.4.4 CSRF
CVE-2023-33333
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C