Hayona Cookie Consent Security & Risk Analysis

wordpress.org/plugins/hayona-cookies

A straightforward plugin to comply with the EU cookie law, including implied consent.

30 active installs v1.1.4 PHP + WP 4.0+ Updated Sep 15, 2016
cookie-bannercookie-consenteu-cookie-lawgoogle-tag-managerprivacy-settings
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Hayona Cookie Consent Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 9yr ago
Risk Assessment

The "hayona-cookies" v1.1.4 plugin exhibits a generally positive security posture based on the provided static analysis. The absence of identified dangerous functions, SQL injection vulnerabilities due to prepared statements, file operations, and external HTTP requests are strong indicators of good coding practices. Furthermore, the lack of any recorded historical vulnerabilities (CVEs) suggests a mature and well-maintained codebase over time.

However, there are specific areas of concern. The complete absence of nonce checks and capability checks across all entry points is a significant weakness. While the attack surface is currently reported as zero, any future addition of entry points without proper authentication and authorization mechanisms would immediately introduce critical vulnerabilities. The 74% output escaping rate also indicates a potential for Cross-Site Scripting (XSS) vulnerabilities in a quarter of the plugin's outputs, which warrants closer inspection of the unescaped portions.

In conclusion, while "hayona-cookies" v1.1.4 shows strengths in data sanitization and avoiding common vulnerabilities, the lack of any access control mechanisms (nonces, capability checks) on its entry points is a notable deficiency that leaves it exposed to potential privilege escalation or unauthorized actions if the attack surface were to expand. The partial output escaping is a less severe but still present risk.

Key Concerns

  • No nonce checks on any entry points
  • No capability checks on any entry points
  • 26% of outputs are not properly escaped
Vulnerabilities
None known

Hayona Cookie Consent Security Vulnerabilities

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

Hayona Cookie Consent Code Analysis

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

Output Escaping

74% escaped53 total outputs
Attack Surface

Hayona Cookie Consent Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 9
actionwp_footerhayona-cookies.php:49
actionwp_enqueue_scriptshayona-cookies.php:50
filterthe_contenthayona-cookies.php:51
filterbody_classhayona-cookies.php:52
actionplugins_loadedhayona-cookies.php:56
actionadmin_inithayona-cookies.php:57
actionadmin_headhayona-cookies.php:58
actionadmin_menuhayona-cookies.php:59
actionadmin_noticeshayona-cookies.php:62
Maintenance & Trust

Hayona Cookie Consent Maintenance & Trust

Maintenance Signals

WordPress version tested4.6.30
Last updatedSep 15, 2016
PHP min version
Downloads4K

Community Trust

Rating80/100
Number of ratings3
Active installs30
Developer Profile

Hayona Cookie Consent Developer Profile

Leon Korteweg

1 plugin · 30 total installs

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

How We Detect Hayona 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/hayona-cookies/assets/css/min/style.css/wp-content/plugins/hayona-cookies/assets/js/min/cookie-banner.min.js
Script Paths
/wp-content/plugins/hayona-cookies/assets/js/min/cookie-banner.min.js
Version Parameters
hayona-cookies/assets/css/min/style.css?ver=hayona-cookies/assets/js/min/cookie-banner.min.js?ver=

HTML / DOM Fingerprints

CSS Classes
hc-stylinghc-styling--lighthc-styling--darkhc-bannerhc-banner__bodyhc-toolbarhc-buttonaccept-cookies+3 more
Data Attributes
hc_is_enabledhc_consent_timestamphc_implied_consent_enabledhc_banner_texthc_privacy_statement_urlhc_cookie_expiration+2 more
JS Globals
hayonaCookies
Shortcode Output
<!-- Privacy settings -->
FAQ

Frequently Asked Questions about Hayona Cookie Consent