kjrocker Cookie Consent Security & Risk Analysis

wordpress.org/plugins/kjrocker-cookie-consent

Add a cookie consent bar in your website.

10 active installs v1.1.4 PHP 5.6+ WP 5.8+ Updated Dec 25, 2023
cookie-barcookie-consentgdpr
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is kjrocker Cookie Consent Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 2yr ago
Risk Assessment

The kjrocker-cookie-consent plugin v1.1.4 exhibits a generally strong security posture based on the static analysis. The absence of dangerous functions, SQL queries, file operations, and external HTTP requests is commendable. Furthermore, the fact that all SQL queries use prepared statements and a high percentage of output is properly escaped indicates good development practices for mitigating common vulnerabilities. The vulnerability history shows no recorded CVEs, which is a positive sign, suggesting the plugin has historically been secure.

However, there are areas for improvement. The lack of nonce checks across all identified entry points (shortcodes) is a notable concern. While the static analysis shows no unauthenticated AJAX handlers or REST API routes, shortcodes can still be exploited to trigger actions without proper validation. The capability checks are present, but their effectiveness is diminished without accompanying nonce checks for these shortcode-based entry points. The bundled TinyMCE library, while not inherently insecure, could potentially introduce vulnerabilities if it's outdated or has known issues, though this is not explicitly detailed in the provided data.

In conclusion, the plugin is built on a solid foundation with good handling of data and queries. The primary weakness lies in the lack of nonces for its shortcode entry points. The absence of any known vulnerabilities is a significant strength. The developers should prioritize implementing nonce checks for the shortcodes to further harden the plugin against potential attacks. The overall risk is considered moderate due to the potential for abuse of shortcodes if not properly validated.

Key Concerns

  • Missing nonce checks on shortcodes
  • Bundled library (TinyMCE) potential risk
  • Low percentage of properly escaped output (77%)
Vulnerabilities
None known

kjrocker Cookie Consent Security Vulnerabilities

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

kjrocker Cookie Consent Code Analysis

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

Bundled Libraries

TinyMCE

Output Escaping

77% escaped35 total outputs
Attack Surface

kjrocker Cookie Consent Attack Surface

Entry Points3
Unprotected0

Shortcodes 3

[cookie] class-frontend.php:144
[cookie-control] class-frontend.php:232
[cookie-list] class-frontend.php:266
WordPress Hooks 14
actionadmin_initclass-admin.php:3
actionadmin_menuclass-admin.php:8
actionadmin_enqueue_scriptsclass-admin.php:13
actionwp_headclass-frontend.php:5
actionwp_footerclass-frontend.php:109
actionwp_headclass-frontend.php:171
actionwp_footerclass-frontend.php:172
filterinfinite_scroll_js_settingsclass-frontend.php:190
filterwidget_textclass-frontend.php:195
actioniniteu-cookie-law.php:21
actionadmin_initeu-cookie-law.php:36
filtermce_external_pluginsinc\tinymce.php:10
filtermce_buttonsinc\tinymce.php:11
actionadmin_headinc\tinymce.php:14
Maintenance & Trust

kjrocker Cookie Consent Maintenance & Trust

Maintenance Signals

WordPress version tested6.4.8
Last updatedDec 25, 2023
PHP min version5.6
Downloads1K

Community Trust

Rating100/100
Number of ratings2
Active installs10
Developer Profile

kjrocker Cookie Consent Developer Profile

kj Rocker

1 plugin · 10 total installs

84
trust score
Avg Security Score
85/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect kjrocker 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/kjrocker-cookie-consent/css/jquery.cookie.min.js/wp-content/plugins/kjrocker-cookie-consent/css/cookie.style.css/wp-content/plugins/kjrocker-cookie-consent/js/jquery.cookie.js/wp-content/plugins/kjrocker-cookie-consent/js/cookie.script.js
Version Parameters
kjrocker-cookie-consent/css/jquery.cookie.min.js?ver=kjrocker-cookie-consent/css/cookie.style.css?ver=kjrocker-cookie-consent/js/jquery.cookie.js?ver=kjrocker-cookie-consent/js/cookie.script.js?ver=

HTML / DOM Fingerprints

CSS Classes
kjcookie-bar
HTML Comments
<!-- kjrocker Cookie Consent --><!-- /kjrocker Cookie Consent -->
Data Attributes
data-cookie-namedata-cookie-valuedata-cookie-daysdata-cookie-domaindata-cookie-path
JS Globals
kjcookie_options
FAQ

Frequently Asked Questions about kjrocker Cookie Consent