Accept My Cookies Security & Risk Analysis

wordpress.org/plugins/accept-my-cookies

Accept My Cookies displays a user-friendly consent banner, allowing visitors to accept or reject tracking cookies and it supports Google Consent Mode.

10 active installs v1.4.4 PHP + WP + Updated Aug 3, 2025
consentcookiesgdprgoogle-consent-modeprivacy
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Accept My Cookies Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 8mo ago
Risk Assessment

The accept-my-cookies plugin v1.4.4 demonstrates a generally strong security posture, with robust practices in several key areas. Notably, the plugin utilizes prepared statements for all its SQL queries, a critical defense against SQL injection. The high percentage of properly escaped output (97%) also indicates a conscious effort to prevent cross-site scripting (XSS) vulnerabilities. Furthermore, the absence of known vulnerabilities (CVEs) and the presence of nonce checks on its entry points are positive indicators. The plugin also exhibits no external HTTP requests, reducing its attack surface from external dependencies.

However, some areas warrant attention. The presence of four taint flows with unsanitized paths, while not resulting in critical or high severity issues in this analysis, suggests a potential for sensitive data to be mishandled or used improperly if not carefully controlled. The complete lack of capability checks on its AJAX handlers is a significant concern. While nonce checks are present, the absence of capability checks means that any authenticated user, regardless of their role or permissions, could potentially trigger these AJAX actions. This broad accessibility could be exploited if a specific AJAX handler performs a sensitive operation.

Overall, the plugin's track record of zero known vulnerabilities is commendable. However, the combination of unsanitized taint flows and the complete absence of capability checks on its AJAX endpoints introduces a degree of risk. While the current analysis doesn't highlight critical flaws, these aspects represent potential attack vectors that could be exploited in conjunction with other factors or if future code changes introduce new vulnerabilities. It would be prudent for developers to implement capability checks on all AJAX handlers and thoroughly review the identified taint flows to ensure data integrity and security.

Key Concerns

  • No capability checks on AJAX handlers
  • Taint flows with unsanitized paths detected
Vulnerabilities
None known

Accept My Cookies Security Vulnerabilities

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

Accept My Cookies Code Analysis

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

Output Escaping

97% escaped305 total outputs
Data Flows
4 unsanitized

Data Flow Analysis

8 flows4 with unsanitized paths
handle_log_consent (accept-my-cookies\include\Controller\PublicController.php:194)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Accept My Cookies Attack Surface

Entry Points8
Unprotected0

AJAX Handlers 8

authwp_ajax_accept_my_cookies_cleanupaccept-my-cookies\include\Controller\AdminController.php:36
authwp_ajax_accept_my_cookies_save_settingsaccept-my-cookies\include\Controller\AdminController.php:37
authwp_ajax_accept_my_cookies_log_consentaccept-my-cookies\include\Controller\PublicController.php:79
noprivwp_ajax_accept_my_cookies_log_consentaccept-my-cookies\include\Controller\PublicController.php:80
authwp_ajax_accept_my_cookies_cleanupinclude\Controller\AdminController.php:36
authwp_ajax_accept_my_cookies_save_settingsinclude\Controller\AdminController.php:37
authwp_ajax_accept_my_cookies_log_consentinclude\Controller\PublicController.php:111
noprivwp_ajax_accept_my_cookies_log_consentinclude\Controller\PublicController.php:112
WordPress Hooks 21
actioninitaccept-my-cookies\accept-my-cookies.php:50
actionplugins_loadedaccept-my-cookies\accept-my-cookies.php:91
actionadmin_menuaccept-my-cookies\include\Controller\AdminController.php:33
actionadmin_initaccept-my-cookies\include\Controller\AdminController.php:34
actionadmin_enqueue_scriptsaccept-my-cookies\include\Controller\AdminController.php:35
actionwp_headaccept-my-cookies\include\Controller\GoogleConsentController.php:27
actionwp_enqueue_scriptsaccept-my-cookies\include\Controller\PublicController.php:67
actionwp_enqueue_scriptsaccept-my-cookies\include\Controller\PublicController.php:70
actionwp_headaccept-my-cookies\include\Controller\PublicController.php:73
actionwp_footeraccept-my-cookies\include\Controller\PublicController.php:76
actioninitaccept-my-cookies.php:51
actioninitaccept-my-cookies.php:95
actionadmin_menuinclude\Controller\AdminController.php:33
actionadmin_initinclude\Controller\AdminController.php:34
actionadmin_enqueue_scriptsinclude\Controller\AdminController.php:35
actionwp_headinclude\Controller\ClarityConsentController.php:35
actionwp_headinclude\Controller\GoogleConsentController.php:35
actionwp_enqueue_scriptsinclude\Controller\PublicController.php:99
actionwp_enqueue_scriptsinclude\Controller\PublicController.php:102
actionwp_headinclude\Controller\PublicController.php:105
actionwp_footerinclude\Controller\PublicController.php:108
Maintenance & Trust

Accept My Cookies Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedAug 3, 2025
PHP min version
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Accept My Cookies Developer Profile

Shayan Ghiaseddin

2 plugins · 30 total installs

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

How We Detect Accept My Cookies

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/accept-my-cookies/assets/css/consent-banner.css/wp-content/plugins/accept-my-cookies/assets/js/consent-banner.js/wp-content/plugins/accept-my-cookies/assets/css/themes/default.css
Script Paths
/wp-content/plugins/accept-my-cookies/assets/js/consent-banner.js
Version Parameters
accept-my-cookies/assets/css/consent-banner.css?ver=accept-my-cookies/assets/js/consent-banner.js?ver=accept-my-cookies/assets/css/themes/default.css?ver=

HTML / DOM Fingerprints

CSS Classes
accept-my-cookies-banner
Data Attributes
data-amc-accept-alldata-amc-reject-alldata-amc-manage-cookies
JS Globals
AcceptMyCookies
FAQ

Frequently Asked Questions about Accept My Cookies