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.
Published: 2026-04-29
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Complianz – GDPR/CCPA Cookie Consent plugin for WordPress contains a REST API endpoint that lacks proper authorization checks. The function cmplz_rest_consented_content() retrieves post content without verifying that the post is published or that the requester has permission. This flaw permits any user, even unauthenticated, to read the consent area block from private, draft, or unpublished posts, exposing potentially sensitive information. The weakness maps to CWE‑862, Missing Authorization.

Affected Systems

This vulnerability affects all installations of the Complianz plugin version 7.4.5 and earlier. The plugin is distributed by the vendor Complianz and is installed as a WordPress add‑on. Users should verify that their version is 7.4.6 or newer to avoid exposure.

Risk and Exploitability

The CVSS score of 5.3 denotes moderate severity, and the EPSS score is not available, indicating insufficient data on exploit likelihood. The flaw is not listed in CISA’s KEV catalog. It can be exploited by sending a simple HTTP GET request to /wp-json/complianz/v1/consent-area/{post_id}/{block_id}. Because the endpoint returns data without authentication, an attacker can collect content from any post, regardless of its visibility status, without local or network privileges.

Generated by OpenCVE AI on April 29, 2026 at 09:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Complianz plugin to version 7.4.6 or later, which removes the flawed permission_callback.
  • If an upgrade is not immediately possible, block or delete the /wp-json/complianz/v1/consent-area/* endpoints using a web‑application firewall or mod_rewrite rule.
  • Audit existing private or draft posts for sensitive consent area content and remove any that should not be exposed publicly.

Generated by OpenCVE AI on April 29, 2026 at 09:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 29 Apr 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 29 Apr 2026 11:45:00 +0000

Type Values Removed Values Added
First Time appeared Complianz
Complianz complianz – Gdpr/ccpa Cookie Consent
Wordpress
Wordpress wordpress
Vendors & Products Complianz
Complianz complianz – Gdpr/ccpa Cookie Consent
Wordpress
Wordpress wordpress

Wed, 29 Apr 2026 09:15:00 +0000

Type Values Removed Values Added
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.
Title Complianz – GDPR/CCPA Cookie Consent <= 7.4.5 - Missing Authorization to Unauthenticated Private Post Content Disclosure via Consent Area REST Endpoint
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}


Subscriptions

Complianz Complianz – Gdpr/ccpa Cookie Consent
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-29T13:52:26.882Z

Reserved: 2026-03-11T19:49:54.038Z

Link: CVE-2026-4019

cve-icon Vulnrichment

Updated: 2026-04-29T13:52:05.510Z

cve-icon NVD

Status : Deferred

Published: 2026-04-29T09:16:25.173

Modified: 2026-04-29T21:16:21.590

Link: CVE-2026-4019

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-29T11:30:09Z

Weaknesses