Simple Cookie Consent Security & Risk Analysis

wordpress.org/plugins/simple-cookie-consents

Simple Cookie Consent is a lightweight wordpress plugin for alerting users about the use of cookies on your website. A free solution to the EU, GDPR, …

10 active installs v1.0.0 PHP + WP 3.7+ Updated Dec 5, 2019
ccpaeu-cookie-lawgdprprivacysimple-tools
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Simple Cookie Consent Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 6yr ago
Risk Assessment

The "simple-cookie-consents" v1.0.0 plugin exhibits a mixed security posture. While it has a clean vulnerability history with no known CVEs and demonstrates some good practices like using prepared statements for most SQL queries and implementing nonce and capability checks, significant concerns arise from the static analysis. The presence of dangerous functions such as `unserialize`, `popen`, and `exec` is a major red flag, especially when combined with a complete lack of output escaping. This suggests a high potential for arbitrary code execution or server-side manipulation if any of these functions are triggered with unsanitized input. Furthermore, the taint analysis reveals two high-severity flows with unsanitized paths, indicating potential vulnerabilities that could be exploited. The absence of external HTTP requests and a small attack surface are positive, but they do not mitigate the risks posed by the dangerous functions and the complete lack of output escaping. This plugin requires careful review and remediation to address these critical security weaknesses.

Key Concerns

  • Dangerous functions used (unserialize, popen, exec)
  • Output escaping completely missing
  • High severity unsanitized taint flows (2)
  • File operations present
Vulnerabilities
None known

Simple Cookie Consent Security Vulnerabilities

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

Simple Cookie Consent Code Analysis

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

Dangerous Functions Found

unserializereturn @unserialize($value);lknlibrary\cache\src\phpFastCache\Core\Pool\DriverBaseTrait.php:105
popenpclose(popen('start /B '. $cmd, 'r'));lknlibrary\cache\src\phpFastCache\Helper\TestHelper.php:129
execexec($cmd . ' > /dev/null &');lknlibrary\cache\src\phpFastCache\Helper\TestHelper.php:132

SQL Query Safety

95% prepared20 total queries

Output Escaping

0% escaped10 total outputs
Data Flows
6 unsanitized

Data Flow Analysis

6 flows6 with unsanitized paths
getPath (lknlibrary\cache\src\phpFastCache\Core\Pool\IO\IOHelperTrait.php:46)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Simple Cookie Consent Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actioninitplugin.php:90
actionadmin_menuplugin.php:94
actionwp_enqueue_scriptsplugin.php:98
actionwp_footerplugin.php:103
Maintenance & Trust

Simple Cookie Consent Maintenance & Trust

Maintenance Signals

WordPress version tested5.3.21
Last updatedDec 5, 2019
PHP min version
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Simple Cookie Consent Developer Profile

SimpleTools.nl

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 Simple 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/simple-cookie-consents/css/simple-cookie-style.css/wp-content/plugins/simple-cookie-consents/js/simple-cookie-script.js/wp-content/plugins/simple-cookie-consents/css/simple-cookie-font-awesome.min.css
Script Paths
/wp-content/plugins/simple-cookie-consents/js/simple-cookie-script.js
Version Parameters
simple-cookie-consents/css/simple-cookie-style.css?ver=simple-cookie-consents/js/simple-cookie-script.js?ver=

HTML / DOM Fingerprints

CSS Classes
simple-cookie-consent-barsimple-cookie-consent-bar__contentsimple-cookie-consent-bar__linksimple-cookie-consent-bar__button
Data Attributes
data-cookie-consent-settings
JS Globals
simpleCookieConsent
FAQ

Frequently Asked Questions about Simple Cookie Consent