Referrer Analytics Security & Risk Analysis

wordpress.org/plugins/referrer-analytics

Track & store where users come from for enhanced reporting in Google Analytics, on-site statistics, conversion tracking & more.

40 active installs v2.0.1 PHP 7.2+ WP 5.2+ Updated Sep 10, 2020
analyticsgoogle-analyticsgoogle-analytics-add-onreferrerstatistics
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Referrer Analytics Safe to Use in 2026?

Generally Safe

Score 85/100

Referrer Analytics has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 5yr ago
Risk Assessment

The referrer-analytics plugin v2.0.1 exhibits a strong security posture based on the provided static analysis and vulnerability history. The absence of any identified attack surface entry points like AJAX handlers, REST API routes, shortcodes, or cron events is a significant strength, indicating a well-contained plugin. Furthermore, the code signals are largely positive, with a high percentage of properly escaped outputs and a commendable use of prepared statements for SQL queries. The presence of nonce and capability checks, even though limited, suggests an awareness of secure coding practices.

However, a closer look reveals a few minor areas for improvement. While the overall output escaping is high, there's a small chance that the 9% of outputs not properly escaped could lead to cross-site scripting (XSS) vulnerabilities if sensitive data is handled and not escaped. The single nonce check might be insufficient depending on the plugin's functionality, and while the capability checks are present, their coverage is not specified. The fact that no taint flows were identified is excellent, reinforcing the plugin's good handling of user-supplied data. The clean vulnerability history with zero recorded CVEs further solidifies its secure reputation.

In conclusion, referrer-analytics v2.0.1 appears to be a secure plugin with a robust design that minimizes its attack surface. Its development team seems to follow good security practices, as evidenced by the low risk indicators in the static analysis and the absence of past vulnerabilities. The primary, albeit minor, concern lies in the potential for XSS from the unescaped outputs. For a plugin with no other identified weaknesses, this is a very positive assessment, but continuous vigilance is always recommended.

Key Concerns

  • Potential for XSS from unescaped output
Vulnerabilities
None known

Referrer Analytics Security Vulnerabilities

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

Referrer Analytics Release Timeline

v2.0.1Current
v2.0.0
v1.7.2
v1.7.1
v1.7.0
v1.6.1
v1.6.0
v1.5.0
v1.4.1
v1.4.0
v1.3.1
v1.3.0
v1.2.0
v1.1.0
Code Analysis
Analyzed Mar 16, 2026

Referrer Analytics Code Analysis

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

SQL Query Safety

75% prepared4 total queries

Output Escaping

91% escaped104 total outputs
Attack Surface

Referrer Analytics Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 8
actionplugins_loadedclasses\class-referrer-analytics.php:163
actioninitclasses\class-referrer-analytics.php:164
actiontemplate_redirectclasses\class-referrer-analytics.php:165
actionadmin_menuclasses\class-referrer-analytics.php:166
actionadmin_initclasses\class-referrer-analytics.php:167
actionadmin_enqueue_scriptsclasses\class-referrer-analytics.php:168
actionwp_enqueue_scriptsclasses\class-referrer-analytics.php:169
filterwp_targeted_link_relclasses\class-referrer-analytics.php:171
Maintenance & Trust

Referrer Analytics Maintenance & Trust

Maintenance Signals

WordPress version tested5.5.18
Last updatedSep 10, 2020
PHP min version7.2
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs40
Developer Profile

Referrer Analytics Developer Profile

Ben Marshall

5 plugins · 20K total installs

70
trust score
Avg Security Score
87/100
Avg Patch Time
913 days
View full developer profile
Detection Fingerprints

How We Detect Referrer Analytics

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/referrer-analytics/assets/css/frontend.css/wp-content/plugins/referrer-analytics/assets/js/frontend.js/wp-content/plugins/referrer-analytics/assets/js/vendor/jquery.cookie.min.js
Script Paths
/wp-content/plugins/referrer-analytics/assets/js/frontend.js/wp-content/plugins/referrer-analytics/assets/js/vendor/jquery.cookie.min.js
Version Parameters
referrer-analytics/assets/css/frontend.css?ver=referrer-analytics/assets/js/frontend.js?ver=referrer-analytics/assets/js/vendor/jquery.cookie.min.js?ver=

HTML / DOM Fingerprints

HTML Comments
<!-- Referrer Analytics tracking snippet -->
Data Attributes
data-referrer-analytics-tracking
JS Globals
referrerAnalyticsConfig
FAQ

Frequently Asked Questions about Referrer Analytics