Universal Analytics Security & Risk Analysis

wordpress.org/plugins/universal-analytics

A simple method to add Google's Universal Analytics JavaScript tracking code to your WordPress website.

60 active installs v1.3.2 PHP + WP 3.0+ Updated Feb 8, 2016
analyticsgooglejavascripttrackinguniversal
85
A · Safe
CVEs total1
Unpatched0
Last CVEFeb 4, 2016
Safety Verdict

Is Universal Analytics Safe to Use in 2026?

Generally Safe

Score 85/100

Universal Analytics has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Feb 4, 2016Updated 10yr ago
Risk Assessment

The "universal-analytics" plugin v1.3.2 demonstrates a generally strong security posture, with several positive indicators. The static analysis reveals a very small attack surface consisting of a single AJAX handler, which correctly implements both nonce and capability checks. Furthermore, the code shows no critical or high severity taint analysis findings, no direct file operations, and no external HTTP requests. SQL queries are exclusively handled with prepared statements, and the majority of output is properly escaped. However, the plugin's vulnerability history does present a concern. It has a known medium severity CVE related to Cross-Site Scripting (XSS) from 2016. While this vulnerability is currently patched (unpatched count is 0), its existence and age suggest a past weakness in output sanitization or input validation. The fact that the last vulnerability was so long ago is a positive sign, but the presence of one medium vulnerability in its history, combined with an 80% output escaping rate (implying 20% is not escaped), warrants careful consideration. This indicates a historical propensity for certain types of vulnerabilities, even if the current version appears to have addressed them.

Key Concerns

  • Medium severity XSS vulnerability in history
  • 20% of outputs not properly escaped
Vulnerabilities
1

Universal Analytics Security Vulnerabilities

CVEs by Year

1 CVE in 2016
2016
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2016-10912medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Universal Analytics <= 1.3.0 - Cross-Site Scripting

Feb 4, 2016 Patched in 1.3.1 (2910d)
Code Analysis
Analyzed Mar 16, 2026

Universal Analytics Code Analysis

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

Output Escaping

80% escaped20 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
mdg_save_google_universal_analytics_settings (universalanalytics.php:120)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Universal Analytics Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_mdg_save_google_universal_analytics_settingsuniversalanalytics.php:159
WordPress Hooks 10
actionadmin_enqueue_scriptsuniversalanalytics.php:79
actionadmin_menuuniversalanalytics.php:80
actioninituniversalanalytics.php:83
actionwp_footeruniversalanalytics.php:96
actionwp_headuniversalanalytics.php:98
actionwp_footeruniversalanalytics.php:104
actionwp_headuniversalanalytics.php:106
actionwp_footeruniversalanalytics.php:112
actionwp_headuniversalanalytics.php:114
actionadmin_headuniversalanalytics.php:180
Maintenance & Trust

Universal Analytics Maintenance & Trust

Maintenance Signals

WordPress version tested4.4.34
Last updatedFeb 8, 2016
PHP min version
Downloads5K

Community Trust

Rating60/100
Number of ratings2
Active installs60
Developer Profile

Universal Analytics Developer Profile

Cullen Whitmore

2 plugins · 70 total installs

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

How We Detect Universal Analytics

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/universal-analytics/bootstrap/css/bootstrap.min.css/wp-content/plugins/universal-analytics/bootstrap/css/bootstrap-switch.min.css/wp-content/plugins/universal-analytics/assets/gua-main.css/wp-content/plugins/universal-analytics/bootstrap/js/bootstrap.min.js/wp-content/plugins/universal-analytics/bootstrap/js/bootstrap-switch.min.js/wp-content/plugins/universal-analytics/assets/gua-main.js
Script Paths
/wp-content/plugins/universal-analytics/bootstrap/js/bootstrap.min.js/wp-content/plugins/universal-analytics/bootstrap/js/bootstrap-switch.min.js/wp-content/plugins/universal-analytics/assets/gua-main.js

HTML / DOM Fingerprints

CSS Classes
gua-main
JS Globals
mdg_save_google_universal_analytics_settings
FAQ

Frequently Asked Questions about Universal Analytics