Lightweight Cookie Notice – Cookie Banner for Cookie Consent Security & Risk Analysis

wordpress.org/plugins/lightweight-cookie-notice-free

This is the free version of Lightweight Cookie Notice, the lightweight and customizable cookie plugin for WordPress.

5K active installs v1.19 PHP 7.2+ WP 5.0+ Updated May 2, 2025
ccpacookie-bannercookie-consentcookie-noticegdpr
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Lightweight Cookie Notice – Cookie Banner for Cookie Consent Safe to Use in 2026?

Generally Safe

Score 100/100

Lightweight Cookie Notice – Cookie Banner for Cookie Consent has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 11mo ago
Risk Assessment

The "lightweight-cookie-notice-free" plugin, version 1.19, demonstrates a strong security posture based on the provided static analysis. All identified entry points, including AJAX handlers and REST API routes, have appropriate authentication and permission checks. The code also shows good practices regarding SQL query preparation, with 58% utilizing prepared statements, and a commendable 77% of output escaping being properly implemented. The absence of dangerous functions, file operations, and external HTTP requests further contributes to its secure design.

Despite the overall positive findings, there are minor areas for improvement. The taint analysis identified two flows with unsanitized paths, which, while not reaching critical or high severity in this analysis, represent a potential avenue for vulnerabilities if inputs are not meticulously handled. The presence of the Select2 library as a bundled dependency could also pose a risk if it's outdated and has known vulnerabilities, though this is not explicitly stated in the provided data. The plugin's vulnerability history is exceptionally clean, with zero recorded CVEs, suggesting a mature and well-maintained codebase.

In conclusion, this plugin appears to be well-secured, with robust checks on its attack surface and generally good coding practices. The primary, albeit low-level, concerns revolve around the two identified unsanitized paths in the taint analysis. The lack of historical vulnerabilities is a significant strength. Overall, the risk is assessed as low, with potential improvements focusing on ensuring all input paths are thoroughly sanitized and the bundled Select2 library is kept up-to-date.

Key Concerns

  • Taint flows with unsanitized paths
  • Bundled library (Select2) potentially outdated
Vulnerabilities
None known

Lightweight Cookie Notice – Cookie Banner for Cookie Consent Security Vulnerabilities

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

Lightweight Cookie Notice – Cookie Banner for Cookie Consent Code Analysis

Dangerous Functions
0
Raw SQL Queries
27
37 prepared
Unescaped Output
123
407 escaped
Nonce Checks
11
Capability Checks
6
File Operations
0
External Requests
0
Bundled Libraries
1

Bundled Libraries

Select2

SQL Query Safety

58% prepared64 total queries

Output Escaping

77% escaped530 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

4 flows2 with unsanitized paths
display_crud_menu (admin\inc\menu\class-daextlwcnf-menu-elements.php:1320)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Lightweight Cookie Notice – Cookie Banner for Cookie Consent Attack Surface

Entry Points11
Unprotected0

AJAX Handlers 5

authwp_ajax_daextlwcnf_geolocate_userclass-daextlwcnf-ajax.php:38
noprivwp_ajax_daextlwcnf_geolocate_userclass-daextlwcnf-ajax.php:39
noprivwp_ajax_daextlwcnf_save_consent_logclass-daextlwcnf-ajax.php:40
authwp_ajax_daextlwcnf_save_consent_logclass-daextlwcnf-ajax.php:44
authwp_ajax_daextlwcnf_get_category_dataclass-daextlwcnf-ajax.php:50

REST API Routes 3

POST/wp-json/lightweight-cookie-notice-free/v1/read-options/inc\class-daextlwcnf-rest.php:63
POST/wp-json/lightweight-cookie-notice-free/v1/optionsinc\class-daextlwcnf-rest.php:74
POST/wp-json/lightweight-cookie-notice-free/v1/consent-log/inc\class-daextlwcnf-rest.php:86

Shortcodes 3

[cookies] public\class-daextlwcnf-public.php:39
[delete-cookies] public\class-daextlwcnf-public.php:42
[revisit-consent] public\class-daextlwcnf-public.php:45
WordPress Hooks 23
actionadmin_enqueue_scriptsadmin\class-daextlwcnf-admin.php:93
actionadmin_enqueue_scriptsadmin\class-daextlwcnf-admin.php:94
actionadmin_menuadmin\class-daextlwcnf-admin.php:97
actionwpmu_new_blogadmin\class-daextlwcnf-admin.php:100
actiondelete_blogadmin\class-daextlwcnf-admin.php:103
actioninitadmin\class-daextlwcnf-admin.php:106
actionadmin_initadmin\inc\menu\class-daextlwcnf-menu-elements.php:125
actionadmin_initadmin\inc\menu\class-daextlwcnf-menu-elements.php:126
actionadmin_initadmin\inc\menu\class-daextlwcnf-menu-elements.php:127
actionadmin_initadmin\inc\menu\class-daextlwcnf-menu-elements.php:131
actionrest_api_initinc\class-daextlwcnf-rest.php:38
actionplugins_loadedinit.php:31
actionplugins_loadedinit.php:35
actionplugins_loadedinit.php:45
actionplugins_loadedinit.php:62
actionwp_footerpublic\class-daextlwcnf-public.php:36
actionwp_headpublic\class-daextlwcnf-public.php:65
actionwp_print_footer_scriptspublic\class-daextlwcnf-public.php:66
actionwp_headpublic\class-daextlwcnf-public.php:68
actionwp_print_footer_scriptspublic\class-daextlwcnf-public.php:69
actionwp_enqueue_scriptspublic\class-daextlwcnf-public.php:73
actionwp_enqueue_scriptspublic\class-daextlwcnf-public.php:76
actioninitpublic\class-daextlwcnf-public.php:79
Maintenance & Trust

Lightweight Cookie Notice – Cookie Banner for Cookie Consent Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedMay 2, 2025
PHP min version7.2
Downloads39K

Community Trust

Rating100/100
Number of ratings4
Active installs5K
Developer Profile

Lightweight Cookie Notice – Cookie Banner for Cookie Consent Developer Profile

DAEXT

13 plugins · 30K total installs

78
trust score
Avg Security Score
99/100
Avg Patch Time
101 days
View full developer profile
Detection Fingerprints

How We Detect Lightweight Cookie Notice – Cookie Banner for 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/lightweight-cookie-notice-free/public/js/daextlwcnf-public.js/wp-content/plugins/lightweight-cookie-notice-free/admin/js/daextlwcnf-admin.js/wp-content/plugins/lightweight-cookie-notice-free/admin/css/daextlwcnf-admin.css/wp-content/plugins/lightweight-cookie-notice-free/public/css/daextlwcnf-public.css
Script Paths
/wp-content/plugins/lightweight-cookie-notice-free/public/js/daextlwcnf-public.js/wp-content/plugins/lightweight-cookie-notice-free/admin/js/daextlwcnf-admin.js
Version Parameters
lightweight-cookie-notice-free/public/js/daextlwcnf-public.js?ver=lightweight-cookie-notice-free/admin/js/daextlwcnf-admin.js?ver=lightweight-cookie-notice-free/admin/css/daextlwcnf-admin.css?ver=lightweight-cookie-notice-free/public/css/daextlwcnf-public.css?ver=

HTML / DOM Fingerprints

CSS Classes
daextlwcnf-bannerdaextlwcnf-bardaextlwcnf-dialogdaextlwcnf-accept-buttondaextlwcnf-settings-buttondaextlwcnf-decline-button
HTML Comments
<!-- lightweight-cookie-notice-free -->
Data Attributes
data-daextlwcnf-consent-type
JS Globals
daextlwcnf_publicdaextlwcnf_admin
REST Endpoints
/wp-json/daextlwcnf/v1/settings/wp-json/daextlwcnf/v1/save-settings
FAQ

Frequently Asked Questions about Lightweight Cookie Notice – Cookie Banner for Cookie Consent