WP GDPR Cookie Consent Security & Risk Analysis

wordpress.org/plugins/wp-gdpr-cookie-consent

The Most Light-Weight, Simple and Complete GDPR Cookie Consent WP Plugin.

100 active installs v1.0.0 PHP + WP 4.5+ Updated Sep 28, 2018
cookie-compliancecookie-lawcookiesgdprregulations
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP GDPR Cookie Consent Safe to Use in 2026?

Generally Safe

Score 85/100

WP GDPR Cookie Consent has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 7yr ago
Risk Assessment

The plugin "wp-gdpr-cookie-consent" v1.0.0 exhibits a mixed security posture. On the positive side, it demonstrates good practices by not utilizing dangerous functions, conducting all SQL queries using prepared statements, and having no recorded historical vulnerabilities. The absence of file operations and external HTTP requests further limits potential attack vectors.

However, significant concerns arise from the attack surface analysis. The plugin exposes one AJAX handler without any authentication or capability checks. This unprotected entry point represents a critical risk, as it could be exploited by unauthenticated users to trigger unintended actions. Furthermore, the analysis indicates a low percentage of properly escaped output, suggesting a potential for Cross-Site Scripting (XSS) vulnerabilities, especially when combined with the unprotected AJAX handler.

While the plugin has no known CVEs, the presence of an unprotected AJAX endpoint and poor output escaping are serious weaknesses. The lack of historical vulnerabilities might be due to its early version or simply a lack of prior in-depth analysis, rather than an inherent security robustness. The primary recommendation is to immediately address the unprotected AJAX handler and improve output sanitization to mitigate the identified risks.

Key Concerns

  • Unprotected AJAX handler
  • Low percentage of properly escaped output
  • No nonce checks on AJAX handlers
Vulnerabilities
None known

WP GDPR Cookie Consent Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

WP GDPR Cookie Consent Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
13
6 escaped
Nonce Checks
0
Capability Checks
1
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

32% escaped19 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<GdprHandler> (Classes\GdprHandler.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
1 unprotected

WP GDPR Cookie Consent Attack Surface

Entry Points1
Unprotected1

AJAX Handlers 1

authwp_ajax_ninja_gdpr_ajax_actionswp-gdpr-cookie-consent.php:35
WordPress Hooks 6
actionwp_headClasses\GdprHandler.php:70
actionwp_footerClasses\GdprHandler.php:77
actionadmin_menuwp-gdpr-cookie-consent.php:34
actioninitwp-gdpr-cookie-consent.php:47
filterwp_gdpr_is_acceptedwp-gdpr-cookie-consent.php:48
actionplugins_loadedwp-gdpr-cookie-consent.php:79
Maintenance & Trust

WP GDPR Cookie Consent Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedSep 28, 2018
PHP min version
Downloads3K

Community Trust

Rating0/100
Number of ratings0
Active installs100
Developer Profile

WP GDPR Cookie Consent Developer Profile

Shahjahan Jewel

17 plugins · 1.3M total installs

73
trust score
Avg Security Score
92/100
Avg Patch Time
113 days
View full developer profile
Detection Fingerprints

How We Detect WP GDPR Cookie Consent

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-gdpr-cookie-consent/public/js/wp_gdpr_user_display.js
Script Paths
/wp-content/plugins/wp-gdpr-cookie-consent/public/js/wp_gdpr_user_display.js
Version Parameters
wp-gdpr-cookie-consent/public/js/wp_gdpr_user_display.js?ver=

HTML / DOM Fingerprints

CSS Classes
wpgdpr_wrapperwpgdpr_messagewpgdpr_actionswpgdpr_buttongdprDecBtngdprAcptBtnwpgdp_more_linkwpgdpr_banner_top+1 more
Data Attributes
data-gdpr-cookie-consent-enabled
JS Globals
gpd_settings_vars
FAQ

Frequently Asked Questions about WP GDPR Cookie Consent