This is the free version of Lightweight Cookie Notice, the lightweight and customizable cookie plugin for WordPress.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
16
6 issue groups
Security
10
2 issue groups
WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $db_table used in $wpdb->get_results()\n$db_table used without escaping.8
- Category
- Security
- Occurrences
- 8
- Severity
- warning
Sample message
Unescaped parameter $db_table used in $wpdb->get_results()\n$db_table used without escaping.
ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wpsc_add_cookie".3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wpsc_add_cookie".
WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DAEXTLWCN_EDITION".2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DAEXTLWCN_EDITION".
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['script_body']2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_POST['script_body']
WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "sanitize_category_state".1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "sanitize_category_state".
WARNINGMaintainabilitymismatched plugin namePlugin name "Lightweight Cookie Notice - Cookie Banner for Cookie Consent" is different from the name declared in plugin header "Lightweight Cookie Notice".1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Plugin name "Lightweight Cookie Notice - Cookie Banner for Cookie Consent" is different from the name declared in plugin header "Lightweight Cookie Notice".
WARNINGMaintainabilitymissing composer json fileThe "/vendor" directory using composer exists, but "composer.json" file is missing.1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
The "/vendor" directory using composer exists, but "composer.json" file is missing.
External Connections
Potential connections found in static code analysis.
Outbound calls
196
External assets
0
Incoming endpoints
9
Notable Domains
Platform / Reference Domains
External Asset Domains
No external asset domains detected.
Incoming Endpoints
register_rest_route
register_rest_route
register_rest_route
register_rest_route
wp_ajax
wp_ajax
Admin AJAX endpoints3
wp_ajax
wp_ajax
wp_ajax
Score History
3 score snapshots
v1.21
84
Latest
- Findings
- 26
- Errors
- 8
- Warnings
- 18
- Check
- 2.0.0
v1.20
84
Score
- Findings
- 26
- Errors
- 8
- Warnings
- 18
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 84 | 26 | 8 | 18 | v1.21 | 2.0.0 |
| 84 | 26 | 8 | 18 | v1.20 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.