Gdpr Cookie Consent (WordPress plugin): is it safe?

Short answer: Version 3.6.6 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

WordPress gdpr-cookie-consent has 6 known advisories in the phpwarden feed. Feed 2026.11.23.2, updated 2026-11-23.

6advisories
0critical
0on CISA KEV
1no fix recorded
CVETitleSeverityCVSSAffectedFixed in
CVE-2020-20633ajax_policy_generator in admin/modules/cli-policy-generator/classes/class-policy-generator-ajax.php in GDPR Cookie Consent (cookie-law-info)medium5.4<=1.8.2–
CVE-2024-3599The WP Cookie Consent ( for GDPR, CCPA & ePrivacy ) plugin for WordPress is vulnerable to unauthorized loss of data due to a missing capabilmedium5.3<3.1.03.1.0
CVE-2024-4869The WP Cookie Consent ( for GDPR, CCPA & ePrivacy ) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘Client-IP’ hehigh7.2<3.3.03.3.0
CVE-2024-8397The webtoffee-gdpr-cookie-consent WordPress plugin before 2.6.1 does not properly sanitize and escape the IP headers when logging them, allomedium5.4<2.612.61
CVE-2024-11724The Cookie Consent for WP – Cookie Consent, Consent Log, Cookie Scanner, Script Blocker (for GDPR, CCPA & ePrivacy) plugin for WordPress is medium4.3<3.6.63.6.6
CVE-2024-8286The webtoffee-gdpr-cookie-consent WordPress plugin before 2.6.1 does not have CSRF checks in some bulk actions, which could allow attackers medium6.5<2.6.12.6.1

Quick answers

Is Gdpr Cookie Consent safe to use?

Version 3.6.6 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Is Gdpr Cookie Consent being actively exploited?

None of its 6 known vulnerabilities are on CISA's Known Exploited Vulnerabilities list today.

How do I check my own site?

Run `phpwarden wordpress /path/to/wordpress`. phpwarden compares the exact version you have installed with these advisories and lists only the ones that apply, exploited ones first.

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden wordpress /path/to/wordpress

# or, without Composer
pipx install phpwarden   &&   phpwarden wordpress /path/to/wordpress

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked
A version is vulnerable when it falls inside an affected range and below the fixed version. phpwarden applies these ranges to the exact versions in your lockfile or install, so you only see what applies to you.

Add this status to your README

phpwarden status badge

Maintainer of this package? The badge updates itself whenever the feed is rebuilt (twice a day). Add ?v=1.2.3 to the image address to show the status of one exact version.

[![phpwarden](https://phpwarden.io/badge/wordpress-plugin/gdpr-cookie-consent.svg)](https://phpwarden.io/packages/wordpress-plugin/gdpr-cookie-consent)