CVE-2026-4019
Last modified
CVE-2026-4019 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-4019?
How severe is CVE-2026-4019?
How do I fix CVE-2026-4019?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-40184TREK is a collaborative travel planner. Prior to 2.7.2, TREK…5.3
- CVE-2026-40185TREK is a collaborative travel planner. Prior to 2.7.2, TREK…6.5
- CVE-2026-40186ApostropheCMS is an open-source Node.js content management s…6.1
- CVE-2026-40187In egroupware version 26.0 and earlier, an authenticated adm…8.6
- CVE-2026-40188goshs is a SimpleHTTPServer written in Go. From 1.0.7 to bef…7.7
- CVE-2026-40189goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-be…9.8
- CVE-2026-40190LangSmith Client SDKs provide SDK's for interacting with the…9.8
- CVE-2026-40191ClearanceKit intercepts file-system access events on macOS a…6.8
- CVE-2026-40192Pillow is a Python imaging library. Versions 10.3.0 through …7.5
- CVE-2026-40193maddy is a composable, all-in-one mail server. Versions prio…8.2
- CVE-2026-40194phpseclib is a PHP secure communications library. Starting i…3.7
- CVE-2026-40195Incus is a system container and virtual machine manager. In …6.5
Are you affected by CVE-2026-4019?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
