SmartCookieBar Security & Risk Analysis

wordpress.org/plugins/smartcookiebar

"Cookie banner plugin for compliance with GDPR, displaying consent options and privacy info."

0 active installs v1.0.2 PHP 7.4+ WP 6.4+ Updated Nov 9, 2025
cookie-bannercookie-consentcookie-noticeprivacy
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is SmartCookieBar Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 4mo ago
Risk Assessment

The "smartcookiebar" plugin v1.0.2 demonstrates a generally good security posture with several positive indicators. Notably, there are no recorded vulnerabilities (CVEs) in its history, suggesting a history of stable and secure development. The code analysis reveals excellent practices regarding SQL queries, with 100% utilizing prepared statements, and all identified output operations are properly escaped. Furthermore, there are no indications of dangerous functions, file operations, or external HTTP requests, which are common sources of vulnerabilities.

However, a significant concern arises from the static analysis of the attack surface. The plugin exposes two REST API routes, and critically, one of these lacks a permission callback. This means that an attacker could potentially interact with this unprotected REST API endpoint without proper authentication or authorization, leading to unintended actions or data exposure depending on the endpoint's functionality. The absence of nonce checks across all entry points is also a notable weakness, as nonces are crucial for preventing Cross-Site Request Forgery (CSRF) attacks, especially when combined with unprotected endpoints.

In conclusion, while the plugin benefits from a clean vulnerability history and strong internal code practices like prepared statements and output escaping, the unprotected REST API endpoint presents a direct and exploitable security risk. The lack of nonce checks further exacerbates this, as it makes CSRF attacks against unprotected functionalities more feasible. Developers should prioritize securing this REST API endpoint and implementing nonce checks for all relevant entry points to significantly improve the plugin's overall security.

Key Concerns

  • REST API route without permission callback
  • 0 Nonce checks on entry points
Vulnerabilities
None known

SmartCookieBar Security Vulnerabilities

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

SmartCookieBar Code Analysis

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

Output Escaping

100% escaped3 total outputs
Attack Surface
1 unprotected

SmartCookieBar Attack Surface

Entry Points2
Unprotected1

REST API Routes 2

GET/wp-json/smartcb/v1/settingsclasses\class-create-settings-routes.php:22
GET/wp-json/smartcb/v1/settingsclasses\class-create-settings-routes.php:30
WordPress Hooks 6
actionadmin_menuclasses\class-create-admin-menu.php:10
actionrest_api_initclasses\class-create-settings-routes.php:9
actionwp_enqueue_scriptssmartcookiebar.php:34
actionadmin_enqueue_scriptssmartcookiebar.php:35
actionwp_footersmartcookiebar.php:89
actionadmin_headsmartcookiebar.php:90
Maintenance & Trust

SmartCookieBar Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedNov 9, 2025
PHP min version7.4
Downloads658

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

SmartCookieBar Developer Profile

Zamzamcoders

5 plugins · 0 total installs

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

How We Detect SmartCookieBar

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/smartcookiebar/assets/bootstrap/css/bootstrap.min.css/wp-content/plugins/smartcookiebar/assets/style.css/wp-content/plugins/smartcookiebar/assets/bootstrap/js/bootstrap.bundle.min.js/wp-content/plugins/smartcookiebar/assets/js.cookie.min.js/wp-content/plugins/smartcookiebar/dist/bundle.js
Script Paths
/wp-content/plugins/smartcookiebar/assets/bootstrap/js/bootstrap.bundle.min.js/wp-content/plugins/smartcookiebar/assets/js.cookie.min.js/wp-content/plugins/smartcookiebar/dist/bundle.js
Version Parameters
smartcookiebar/assets/bootstrap/css/bootstrap.min.css?ver=smartcookiebar/assets/style.css?ver=smartcookiebar/assets/bootstrap/js/bootstrap.bundle.min.js?ver=smartcookiebar/assets/js.cookie.min.js?ver=smartcookiebar/dist/bundle.js?ver=

HTML / DOM Fingerprints

CSS Classes
smartcb-react-cookie-banner-wrapper
JS Globals
appCookie
REST Endpoints
/wp-json/smartcb/v1/settings
FAQ

Frequently Asked Questions about SmartCookieBar