Analytics Head Security & Risk Analysis

wordpress.org/plugins/analytics-head

This plugin adds tracking code for Google Analytics to your WordPress <head> section, so you can authorize your site in Google Webmaster Tools.

700 active installs v1.7.0 PHP 7.4+ WP 5.0+ Updated Jul 21, 2025
analyticsgooglescripttoolswebmaster
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Analytics Head Safe to Use in 2026?

Generally Safe

Score 100/100

Analytics Head 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 "analytics-head" plugin, version 1.7.0, exhibits a generally strong security posture, particularly concerning its limited attack surface and the absence of known vulnerabilities. The static analysis reveals no direct entry points like AJAX handlers, REST API routes, shortcodes, or cron events that are exposed to the public without authentication. Furthermore, there are no recorded CVEs associated with this plugin, suggesting a history of security diligence. The code also demonstrates good practices in database interaction, with all SQL queries using prepared statements.

However, there are several areas that warrant caution. The presence of the "unserialize" function, even without any identified taint flows, represents a potential risk. If user-supplied data is ever passed to this function without proper sanitization and validation, it could lead to deserialization vulnerabilities. Additionally, the output escaping is only 25% properly done, meaning that a significant portion of the plugin's output may be susceptible to cross-site scripting (XSS) attacks if it handles user-controlled data. The complete lack of nonce and capability checks on its (albeit non-existent) entry points is a weakness that could become a risk if the attack surface were to expand in future versions without corresponding security measures.

In conclusion, while the plugin is currently secure due to its minimal attack surface and clean vulnerability history, the identified code signals of "unserialize" and poor output escaping present latent risks. Developers should prioritize addressing these issues to maintain a robust security profile.

Key Concerns

  • Dangerous function unserialize detected
  • Low output escaping (25% proper)
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Analytics Head Security Vulnerabilities

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

Analytics Head Code Analysis

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

Dangerous Functions Found

unserialize$t = @unserialize( $g );inc\install.php:127

Output Escaping

25% escaped4 total outputs
Attack Surface

Analytics Head Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 9
actionadmin_menuinc\admin.php:37
actionadmin_initinc\admin.php:41
actionwp_loadedinc\plugin.php:47
actionadmin_footerinc\plugin.php:71
actionwp_footerinc\plugin.php:77
actionadmin_headinc\plugin.php:86
actionwp_headinc\plugin.php:92
actionadmin_noticesinc\plugin.php:176
filterplugin_action_linksinc\plugin.php:203
Maintenance & Trust

Analytics Head Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedJul 21, 2025
PHP min version7.4
Downloads25K

Community Trust

Rating100/100
Number of ratings1
Active installs700
Developer Profile

Analytics Head Developer Profile

Łukasz Nowicki

2 plugins · 8K total installs

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

How We Detect Analytics Head

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/analytics-head/inc/admin.php/wp-content/plugins/analytics-head/inc/install.php/wp-content/plugins/analytics-head/inc/options.php/wp-content/plugins/analytics-head/inc/plugin.php/wp-content/plugins/analytics-head/languages/

HTML / DOM Fingerprints

HTML Comments
<!-- BEGIN: Added by Google Analytics Head plugin --><!-- Global site tag (gtag.js) - Google Analytics -->
JS Globals
window.dataLayerwindow.gtag
FAQ

Frequently Asked Questions about Analytics Head