TNG Accept Cookies Security & Risk Analysis

wordpress.org/plugins/tng-accept-cookies

A simple plugin to get a cookie acceptance from the visitors on the website. A legal requirement for websites in Europe.

10 active installs v0.3.2 PHP + WP 3.8.3+ Updated Apr 20, 2014
cookiecookie-compliancecookie-lawcookieseu-cookie-directive
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is TNG Accept Cookies Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 12yr ago
Risk Assessment

The "tng-accept-cookies" plugin v0.3.2 exhibits a generally good security posture based on the provided static analysis. The complete absence of detectable attack surface points such as AJAX handlers, REST API routes, and shortcodes, coupled with the use of prepared statements for all SQL queries and proper output escaping, are strong indicators of secure coding practices. The plugin also has no recorded vulnerability history, suggesting a history of reliable security. However, a significant concern arises from the presence of the `create_function` dangerous function. While not immediately exploitable without a clear data flow or attack vector, this function is deprecated and known to be a source of potential vulnerabilities, especially in older PHP versions or if its output is not carefully handled. The lack of capability checks and nonce checks, while not leading to direct deductions due to the absence of an attack surface, means that if any entry points were introduced in future versions, they would be inherently unprotected. The absence of taint analysis findings is positive, but it's crucial to remember that taint analysis can be limited in its scope and may not catch all potential issues.

Key Concerns

  • Use of dangerous function: create_function
Vulnerabilities
None known

TNG Accept Cookies Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

TNG Accept Cookies Release Timeline

v0.3.1
v0.3
v0.2.2
Code Analysis
Analyzed Apr 16, 2026

TNG Accept Cookies Code Analysis

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

Dangerous Functions Found

create_functionadd_action( 'plugins_loaded', create_function('', 'return new TNG_Accept_Cookies();') );tng-accept-cookies.php:170

Output Escaping

100% escaped5 total outputs
Attack Surface

TNG Accept Cookies Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actionadmin_menuinc/accept-cookies-settings.php:14
actionadmin_initinc/accept-cookies-settings.php:15
actionwp_enqueue_scriptstng-accept-cookies.php:49
actionwp_headtng-accept-cookies.php:50
actionwp_footertng-accept-cookies.php:51
actionwp_footertng-accept-cookies.php:52
actionplugins_loadedtng-accept-cookies.php:170
Maintenance & Trust

TNG Accept Cookies Maintenance & Trust

Maintenance Signals

WordPress version tested3.9.40
Last updatedApr 20, 2014
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

TNG Accept Cookies Developer Profile

Jon Täng

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 TNG Accept Cookies

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/tng-accept-cookies/js/jquery.cookie.js
Script Paths
/wp-content/plugins/tng-accept-cookies/js/jquery.cookie.js
Version Parameters
tng-accept-cookies/js/jquery.cookie.js?ver=

HTML / DOM Fingerprints

CSS Classes
tng_accept_cookies
HTML Comments
<!-- This site is using TNG Accept Cookies plugin v0.3.1 - http://jontang.se/tng-accept-cookies-plugin/ --><!-- / TNG Accept Cookies plugin. -->
Data Attributes
id="using-cookies"id="accept-cookies"id="decline-cookies"
JS Globals
jQuery$
FAQ

Frequently Asked Questions about TNG Accept Cookies