WP Cookie Consent CVE-2025-14061
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify site running WP Cookie Consent ≤4.0.7
-
DeliverySend unauthenticated request to gdpr_delete_policy_data
-
ExploitSupply target post/page/attachment IDs
-
ExecutionServer deletes content without capability check
-
ImpactPermanent loss of arbitrary site content
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against default configurations of the WP Cookie Consent (GDPR Cookie Consent by WebToffee) plugin at versions up to and including 4.0.7. The only prerequisite is that the vulnerable plugin is installed and active; the attacker must know or brute-force valid content IDs, but no authentication, user interaction, or non-default setting is required. The limiting factor is impact scope: the flaw enables content deletion (data destruction) only, not code execution or data disclosure. |
| Impact | This is a genuine but moderate-severity issue. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N, 5.3) confirms remote, unauthenticated, low-complexity exploitation with no user interaction - the ideal profile for opportunistic abuse. However, the vendor scored only Integrity=Low (I:L) with no confidentiality or availability impact, which understates the real effect: the flaw permits PERMANENT deletion of arbitrary posts, pages, and attachments by ID (CWE-862 missing capability check on gdpr_delete_policy_data), which a defender could reasonably rate as I:H and arguably an availability/content-loss impact. No EPSS score, no CISA KEV listing, and no public POC were provided in the input, so there is no evidence of active exploitation. Signals are therefore consistent internally (all point to easy remote reach) but the impact rating is conservative; treat this as a real, easily-triggerable data-integrity/destruction bug rather than a critical RCE. Missing data to note explicitly: no EPSS or KEV data supplied (absence is not evidence of low interest), and POC availability is unknown. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted request to the vulnerable AJAX/admin handler backing gdpr_delete_policy_data, supplying the numeric IDs of target content. Because no capability or authentication check gates the function, the server permanently deletes the specified posts, pages, or attachments. No public POC is referenced in the input, but the low attack complexity and absence of authentication make weaponization trivial for anyone who reverse-engineers the endpoint from the patched code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 28, 2026
Unauthenticated attackers can permanently delete arbitrary WordPress content - posts, pages, attachments and other post types - by ID on any site running the WP Cookie Consent (GDPR Cookie Consent by WebToffee) plugin at versions up to and including 4.0.7. The plugin's gdpr_delete_policy_data handler performs no capability check, so a missing authorization flaw (CWE-862) hands a destructive, zero-privilege deletion primitive to anyone who can supply or brute-force a valid content ID; exploitation requires only that the plugin be installed and active, with no authentication, user interaction, or non-default configuration. No public exploit code has been identified at time of analysis and the issue does not appear in CISA KEV; this is a genuine but moderate-severity issue whose impact is limited to data destruction rather than code execution or data disclosure. Note that our independent assessment rates the integrity impact as High rather than the Low reflected in the published 5.3 score, since deletions are permanent and repeatable across the entire content set.
RemediationAI
No vendor-released patch was identified at time of analysis - the intelligence provided contains no fixed version number, so do not assume a safe release exists above 4.0.7; check the WebToffee plugin page and the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/866b4ca8-563f-4a19-bbf7-79a79f07d53d?source=cve) for a corrected release before relying on an upgrade. Until a fix is published, the most effective control is to deactivate and remove the plugin, accepting the trade-off that GDPR/CCPA consent banners and consent logging stop functioning and the site may lose compliance coverage. If the banner cannot be removed, apply a WAF/virtual-patch rule that blocks unauthenticated requests invoking the gdpr_delete_policy_data action (or the plugin's admin-ajax/REST delete handler) at the edge - this is low-risk for legitimate visitors but will break the plugin's own deletion workflow for administrators. Broader blocking of admin-ajax.php for unauthenticated users is possible but has a high collateral cost, since many front-end plugin features depend on nopriv AJAX actions. Finally, because the flaw permits permanent (not trash-only) deletion of posts, pages, attachments and custom post types, maintain verified off-site backups with frequent snapshots and alert on bulk post-deletion events, so that any successful exploitation can be detected and restored rather than being irreversible.
Affected ProductsAI
WP Cookie Consent / GDPR Cookie Consent by WebToffee for WordPress (plugin slug gdpr-cookie-consent), all versions up to and including 4.0.7. The referenced vulnerable source is the 4.0.6 tag at plugins.trac.wordpress.org (admin/class-gdpr-cookie-consent-admin.php, lines 8091 and 8878), and no CPE identifiers were supplied with this record. Any WordPress installation with the plugin installed and active - including default, out-of-the-box configurations - is in scope, since the missing capability check is unconditional and no plugin setting gates the vulnerable function. Vendor-adjacent advisory and full version/affected-range detail are available in the Wordfence threat-intel entry at https://www.wordfence.com/threat-intel/vulnerabilities/id/866b4ca8-563f-4a19-bbf7-79a79f07d53d?source=cve.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the WordPress plugin 'GDPR Cookie Consent' by WebToffee, distributed under the slug gdpr-cookie-consent and branded as WP Cookie Consent (cookie banner, consent log, cookie scanner and script blocker for GDPR/CCPA/ePrivacy). The vulnerable code lives in the plugin's administrative class, admin/class-gdpr-cookie-consent-admin.php (reference lines 8091 and 8878 in the 4.0.6 tag), which registers the gdpr_delete_policy_data routine that wraps a WordPress post-deletion call. The root cause is CWE-862 (Missing Authorization): the handler never verifies that the caller holds the appropriate capability (for example via current_user_can('delete_posts') or a manage_options-style check) before acting on a caller-supplied post ID. Combined with the assessed CVSS:3.1/AV:N/AC:L/PR:N/UI:N vector, this means the routine is reachable without any authenticated session - consistent with the handler being exposed through the plugin's unauthenticated AJAX/REST surface (admin-ajax.php nopriv-style actions or an unauthenticated route). The 4.0.7 version ceiling indicates the flaw was introduced early and persisted across the plugin's lifetime; the absence of a capability check or nonce validation is the entire defect, and the only attacker-controlled input required is a target post ID.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Unauthenticated network access with no interaction (AV:N/AC:L/PR:N/UI:N); permanent deletion of arbitrary content is high integrity impact (I:H), with no confidentiality and no direct service-availability effect.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
DescriptionCVE.org
The Cookie Banner, Cookie Consent, Consent Log, Cookie Scanner, Script Blocker (for GDPR, CCPA & ePrivacy) : WP Cookie Consent plugin for WordPress is vulnerable to unauthorized data modification due to a missing capability check on the gdpr_delete_policy_data function in all versions up to, and including, 4.0.7. This makes it possible for unauthenticated attackers to permanently delete arbitrary posts, pages, attachments, and other post types by ID.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB