Cookie Notice & Consent Security & Risk Analysis

wordpress.org/plugins/cookie-notice-consent

Display a cookie notice, collect consent for different categories and output scripts if consent is given.

1K active installs v1.6.6 PHP 7.2+ WP 5.0+ Updated Oct 6, 2025
complianceconsentcookiedsgvogdpr
94
A · Safe
CVEs total3
Unpatched0
Last CVEOct 8, 2025
Download
Safety Verdict

Is Cookie Notice & Consent Safe to Use in 2026?

Generally Safe

Score 94/100

Cookie Notice & Consent has a strong security track record. Known vulnerabilities have been patched promptly. It's a solid choice for most WordPress installations.

3 known CVEsLast CVE: Oct 8, 2025Updated 7mo ago
Risk Assessment

The "cookie-notice-consent" plugin v1.6.6 exhibits a mixed security posture. On the positive side, the plugin demonstrates good practices by utilizing prepared statements for all SQL queries, implementing nonce checks, and capability checks for its entry points. There are no identified REST API routes without permission callbacks, and all discovered AJAX handlers have authorization checks. The attack surface is relatively small and appears to be secured. However, concerns arise from the presence of the `unserialize` function, which can be a significant risk if not handled with extreme care regarding input sources. Furthermore, a substantial portion (63%) of output is not properly escaped, indicating a potential for Cross-Site Scripting (XSS) vulnerabilities. The vulnerability history is particularly alarming, with three known CVEs, including two high-severity ones and one medium. The common types of these past vulnerabilities are XSS, suggesting a recurring weakness in how user-supplied data is handled during output. While there are currently no unpatched CVEs, the pattern of past vulnerabilities, especially XSS, coupled with the high percentage of unescaped output, presents a significant ongoing risk. The plugin's strengths lie in its secured entry points and secure database interactions, but the potential for XSS due to insufficient output escaping and the history of similar vulnerabilities are major weaknesses.

Key Concerns

  • High percentage of unescaped output
  • Presence of dangerous function: unserialize
  • History of 3 known CVEs (2 high, 1 medium)
  • Common vulnerability types: XSS
Vulnerabilities
3 published

Cookie Notice & Consent Security Vulnerabilities

CVEs by Year

1 CVE in 2023
2023
2 CVEs in 2025
2025
Patched Has unpatched

Severity Breakdown

High
2
Medium
1

3 total CVEs

CVE-2025-10496high · 7.2Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Cookie Notice & Consent <= 1.6.5 - Unauthenticated Stored Cross-Site Scripting

Oct 8, 2025 Patched in 1.6.6 (1d)
CVE-2025-49390high · 7.2Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Cookie Notice & Consent <= 1.6.4 - Unauthenticated Stored Cross-Site Scripting

Aug 29, 2025 Patched in 1.6.5 (75d)
CVE-2023-41948medium · 4.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Cookie Notice & Consent 1.6.0 - Authenticated (Administrator+) Stored Cross-Site Scripting

Sep 5, 2023 Patched in 1.6.1 (140d)
Code Analysis
Analyzed Mar 16, 2026

Cookie Notice & Consent Code Analysis

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

Dangerous Functions Found

unserializeif( is_array( $meta = unserialize( get_post_meta( $post_id , 'categories' , true ) ) ) )includes\class-cnc-helper.php:97

Output Escaping

37% escaped100 total outputs
Attack Surface

Cookie Notice & Consent Attack Surface

Entry Points4
Unprotected0

AJAX Handlers 2

authwp_ajax_save_cookie_consentincludes\class-cnc-admin.php:34
noprivwp_ajax_save_cookie_consentincludes\class-cnc-admin.php:35

Shortcodes 2

[revoke_cookie_consent] includes\class-cnc-shortcodes.php:25
[cookie_consent_status] includes\class-cnc-shortcodes.php:27
WordPress Hooks 27
actioninitincludes\class-cnc-admin.php:17
actionadmin_menuincludes\class-cnc-admin.php:56
actionadmin_enqueue_scriptsincludes\class-cnc-admin.php:57
filterplugin_action_linksincludes\class-cnc-admin.php:247
actioninitincludes\class-cnc-embeds.php:17
filterembed_oembed_htmlincludes\class-cnc-embeds.php:25
actioninitincludes\class-cnc-front.php:17
filterbody_classincludes\class-cnc-front.php:26
actionwp_enqueue_scriptsincludes\class-cnc-front.php:27
actionwp_enqueue_scriptsincludes\class-cnc-front.php:28
actionwp_footerincludes\class-cnc-front.php:29
actioninitincludes\class-cnc-logger.php:17
actioninitincludes\class-cnc-logger.php:34
actionadmin_initincludes\class-cnc-logger.php:36
actionadmin_menuincludes\class-cnc-logger.php:38
actionparent_fileincludes\class-cnc-logger.php:40
filtermanage_cookie_consent_posts_columnsincludes\class-cnc-logger.php:42
actionmanage_cookie_consent_posts_custom_columnincludes\class-cnc-logger.php:43
filterpost_row_actionsincludes\class-cnc-logger.php:173
filterbulk_actions-edit-cookie_consentincludes\class-cnc-logger.php:175
actiontransition_post_statusincludes\class-cnc-logger.php:177
actionin_admin_headerincludes\class-cnc-logger.php:179
actionedit_form_after_titleincludes\class-cnc-logger.php:181
actionadd_meta_boxesincludes\class-cnc-logger.php:183
actioncookie_notice_consent_purgerincludes\class-cnc-logger.php:296
actioninitincludes\class-cnc-settings.php:23
actionadmin_initincludes\class-cnc-settings.php:26

Scheduled Events 1

cookie_notice_consent_purger
Maintenance & Trust

Cookie Notice & Consent Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedOct 6, 2025
PHP min version7.2
Downloads14K

Community Trust

Rating100/100
Number of ratings7
Active installs1K
Developer Profile

Cookie Notice & Consent Developer Profile

christophrado

3 plugins · 6K total installs

87
trust score
Avg Security Score
98/100
Avg Patch Time
72 days
View full developer profile
Detection Fingerprints

How We Detect Cookie Notice & Consent

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/cookie-notice-consent/css/front.css/wp-content/plugins/cookie-notice-consent/js/front.js/wp-content/plugins/cookie-notice-consent/css/admin.css/wp-content/plugins/cookie-notice-consent/js/admin.js
Script Paths
/wp-content/plugins/cookie-notice-consent/js/front.js/wp-content/plugins/cookie-notice-consent/js/admin.js
Version Parameters
cookie-notice-consent/css/front.css?ver=cookie-notice-consent/js/front.js?ver=cookie-notice-consent/css/admin.css?ver=cookie-notice-consent/js/admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
cookie-notice-consent-pagecookie-notice-consent-notice
Data Attributes
data-cookie-settings
JS Globals
cookie_notice_consent_params
Shortcode Output
[cookie_notice_consent_categories][cookie_notice_consent_scripts][cookie_notice_consent_scripts_category]
FAQ

Frequently Asked Questions about Cookie Notice & Consent