CVE-2025-11754
Unauthorized Access in GDPR Cookie Consent Plugin via REST API
Publication date: 2026-02-19
Last updated on: 2026-02-19
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| webtoffee | gdrp_cookie_consent | to 4.1.2 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-862 | The product does not perform an authorization check when an actor attempts to access a resource or perform an action. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
[{'type': 'paragraph', 'content': "The GDPR Cookie Consent plugin for WordPress has a vulnerability due to a missing capability check on its REST API endpoint 'gdpr/v1/settings' in all versions up to and including 4.1.2."}, {'type': 'paragraph', 'content': 'This flaw allows unauthenticated attackers to access sensitive plugin settings without proper authorization.'}, {'type': 'paragraph', 'content': 'Specifically, attackers can retrieve sensitive data such as API tokens, email addresses, account IDs, and site keys by exploiting this endpoint.'}, {'type': 'paragraph', 'content': "The underlying issue is that the permission check relies only on the presence of a 'token' parameter and a platform string match ('wordpress'), without validating the token's authenticity or scope, which can be bypassed."}] [1]
How can this vulnerability impact me? :
This vulnerability can lead to unauthorized disclosure of sensitive plugin settings including API tokens, email addresses, account IDs, and site keys.
An attacker gaining access to these details could potentially misuse API tokens or other credentials to further compromise the website or related services.
Since the vulnerability allows unauthenticated access, it increases the risk of data exposure without requiring any prior access or authentication.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by attempting to access the vulnerable REST API endpoint without proper authentication and observing if sensitive plugin settings are returned.
Specifically, you can send an HTTP POST request to the endpoint `/wp-json/gdpr/v1/settings` on your WordPress site and check if it returns sensitive data such as API tokens, email addresses, account IDs, and site keys without valid authorization.
A sample command using curl to test this would be:
- curl -X POST https://your-wordpress-site.com/wp-json/gdpr/v1/settings
If the response contains sensitive plugin settings without requiring valid tokens or proper permissions, the vulnerability is present.
What immediate steps should I take to mitigate this vulnerability?
The immediate mitigation step is to update the GDPR Cookie Consent plugin to version 4.1.3 or later, where this vulnerability has been addressed.
Until the update can be applied, restrict access to the vulnerable REST API endpoint by implementing firewall rules or access controls that block unauthenticated requests to `/wp-json/gdpr/v1/settings`.
Additionally, review and limit exposure of sensitive plugin settings and tokens in your environment.