Cookie Bar Security & Risk Analysis

wordpress.org/plugins/cookie-bar

Cookie Bar allows you to discreetly inform visitors that your website uses cookies.

10K active installs v2.2 PHP + WP 3.8+ Updated Oct 29, 2025
consentcookiecookie-barcookie-compliancecookies
99
A · Safe
CVEs total2
Unpatched0
Last CVEOct 24, 2023
Safety Verdict

Is Cookie Bar Safe to Use in 2026?

Generally Safe

Score 99/100

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

2 known CVEsLast CVE: Oct 24, 2023Updated 6mo ago
Risk Assessment

The static analysis of the "cookie-bar" plugin v2.2 reveals a generally positive security posture, with no identified critical or high severity code signals like dangerous functions, raw SQL queries, or file operations. The plugin also demonstrates good practices in output escaping, with 84% of identified outputs being properly escaped. Furthermore, the absence of any identified taint flows with unsanitized paths or critical/high severity issues is a strong indicator of secure coding. However, the complete lack of nonces and capability checks on any entry points, coupled with the absence of any identified entry points in the static analysis, raises a concern. This might indicate a very limited attack surface, but it could also mean that the static analysis missed potential entry points, or that the plugin relies heavily on WordPress core for authorization, which might not always be sufficient for all contexts.

The vulnerability history shows two medium severity CVEs, both related to Cross-site Scripting (XSS). While there are no currently unpatched vulnerabilities, the pattern of XSS vulnerabilities suggests that input sanitization or output encoding might be an area that requires ongoing vigilance. The most recent vulnerability was in October 2023, indicating that issues have been identified relatively recently. Despite the lack of critical issues in the static analysis, the past XSS vulnerabilities are a significant weakness that needs to be considered in the overall risk assessment. The plugin demonstrates strengths in avoiding direct SQL injection and dangerous functions but exhibits a weakness in its past susceptibility to XSS and the potential for insufficient authorization checks on its (currently unidentified) entry points.

Key Concerns

  • Two medium severity XSS vulnerabilities in history
  • No nonce checks on any entry points
  • No capability checks on any entry points
  • 84% of output escaped, indicates 16% not
Vulnerabilities
2 published

Cookie Bar Security Vulnerabilities

CVEs by Year

1 CVE in 2021
2021
1 CVE in 2023
2023
Patched Has unpatched

Severity Breakdown

Medium
2

2 total CVEs

CVE-2023-49836medium · 4.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Cookie Bar <= 2.0 - Authenticated(Administrator+) Stored Cross-Site Scripting

Oct 24, 2023 Patched in 2.1 (91d)
CVE-2021-24653medium · 4.8Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Cookie Bar <= 1.8.8 - Admin+ Stored Cross-Site Scripting

Sep 22, 2021 Patched in 1.8.9 (853d)
Version History

Cookie Bar Release Timeline

v2.2Current
v2.1
v2.01 CVE
v1.8.91 CVE
Code Analysis
Analyzed Mar 16, 2026

Cookie Bar Code Analysis

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

Output Escaping

84% escaped31 total outputs
Attack Surface

Cookie Bar Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actionadmin_menucookie-bar.php:18
filterplugin_action_linkscookie-bar.php:21
actionadmin_initcookie-bar.php:212
actionwp_enqueue_scriptscookie-bar.php:235
actionplugins_loadedcookie-bar.php:259
actionadmin_enqueue_scriptscookie-bar.php:266
actionwp_footercookie-bar.php:346
Maintenance & Trust

Cookie Bar Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedOct 29, 2025
PHP min version
Downloads171K

Community Trust

Rating98/100
Number of ratings22
Active installs10K
Developer Profile

Cookie Bar Developer Profile

Brontobytes

3 plugins · 12K total installs

79
trust score
Avg Security Score
100/100
Avg Patch Time
472 days
View full developer profile
Detection Fingerprints

How We Detect Cookie Bar

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
cookie_bar_btn_bg_colourcookie_bar_btn_font_colourcookie_bar_bar_bg_colourcookie_bar_bar_font_colourcookie_bar_days_to_expire
Data Attributes
data-default-color
JS Globals
jQuery
FAQ

Frequently Asked Questions about Cookie Bar