What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
The Cookie Banner for GDPR / CCPA plugin for WordPress does not properly check user permissions before allowing certain actions. An attacker without authentication can modify cookie consent settings or related data on affected sites. This affects versions 4.0.7 and earlier. Site owners should update to a version newer than 4.0.7 as soon as a patch is available.
What an attacker can do
03Attacker Capabilities
Modify cookie consent settings or data without needing to log in.
Potential impact on your site
04Site Impact
Attackers can alter your site's cookie consent configuration, potentially breaking GDPR/CCPA compliance or redirecting users.
Conditions required to exploit
05Prerequisites
Network access to the site; no authentication or user interaction required.
Key dates
06Disclosure timeline
December 17, 2025
CVE published
April 8, 2026
Record updated