Lara's Google Analytics (GA4) Security & Risk Analysis

wordpress.org/plugins/lara-google-analytics

Full width Google Analytics dashboard widget for Wordpress admin interface, which also inserts latest Google Analytics (GA4) tracking code to your pag …

9K active installs v4.0.3 PHP 5.6.0+ WP 4.7.0+ Updated Oct 20, 2025
analyticsgoogle-analyticsgoogle-analytics-dashboardgoogle-analytics-plugingoogle-analytics-widget
100
A · Safe
CVEs total1
Unpatched0
Last CVEOct 14, 2019
Safety Verdict

Is Lara's Google Analytics (GA4) Safe to Use in 2026?

Generally Safe

Score 100/100

Lara's Google Analytics (GA4) has a strong security track record. Known vulnerabilities have been patched promptly. It's a solid choice for most WordPress installations.

1 known CVELast CVE: Oct 14, 2019Updated 7mo ago
Risk Assessment

The lara-google-analytics plugin exhibits a mixed security posture. While it demonstrates good practices in handling SQL queries with prepared statements and avoids dangerous functions, there are significant concerns regarding its attack surface and output escaping. The plugin exposes 16 AJAX handlers, all of which lack authentication checks, creating a large entry point for potential attackers to interact with the plugin's functionality without proper authorization. Furthermore, the extremely low percentage of properly escaped outputs (3%) strongly suggests a high risk of Cross-Site Scripting (XSS) vulnerabilities, where malicious scripts could be injected and executed in users' browsers.

The vulnerability history reveals one past medium-severity CVE related to Cross-Site Scripting, which aligns with the concerns raised by the static analysis regarding output escaping. Although there are no currently unpatched vulnerabilities, the pattern of past XSS issues, coupled with the current code analysis, indicates a recurring weakness in sanitizing user-supplied data before rendering it. While the plugin avoids file operations and external HTTP requests (beyond the expected Google Analytics integration), and uses prepared statements for SQL, the lack of nonces on AJAX endpoints and the pervasive output escaping issues present immediate and serious security risks that require urgent attention.

Key Concerns

  • 16 unprotected AJAX handlers
  • 3% of outputs properly escaped
  • No nonce checks on AJAX
  • 1 medium severity CVE (past)
Vulnerabilities
1 published

Lara's Google Analytics (GA4) Security Vulnerabilities

CVEs by Year

1 CVE in 2019
2019
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2020-20626medium · 5.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Lara Google Analytics <= 2.0.4 - Stored Cross-Site Scripting

Oct 14, 2019 Patched in 2.0.5 (1562d)
Version History

Lara's Google Analytics (GA4) Release Timeline

v4.0.3Current
v4.0.1
v4.0.0
v3.3.4
v3.3.3
v3.3.2
v3.3.1
v3.3.0
v3.2.2
v3.2.1
v3.2.0
v3.1.0
v3.0.0
v2.0.7
v2.0.6
v2.0.5
v2.0.41 CVE
v2.0.31 CVE
v2.0.21 CVE
v2.0.11 CVE
Code Analysis
Analyzed Mar 16, 2026

Lara's Google Analytics (GA4) Code Analysis

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

Bundled Libraries

DataTables

SQL Query Safety

100% prepared14 total queries

Output Escaping

3% escaped66 total outputs
Attack Surface
16 unprotected

Lara's Google Analytics (GA4) Attack Surface

Entry Points16
Unprotected16

AJAX Handlers 16

authwp_ajax_lrgawidget_hideShowWidgetcore\system\wordpress\admin.actions.php:15
authwp_ajax_lrgawidget_getAuthURLcore\system\wordpress\admin.actions.php:16
authwp_ajax_lrgawidget_getAccessTokencore\system\wordpress\admin.actions.php:17
authwp_ajax_lrgawidget_getAccountSummariescore\system\wordpress\admin.actions.php:18
authwp_ajax_lrgawidget_setMeasurementIDcore\system\wordpress\admin.actions.php:19
authwp_ajax_lrgawidget_settingsResetcore\system\wordpress\admin.actions.php:20
authwp_ajax_lrgawidget_getMainGraphcore\system\wordpress\admin.actions.php:21
authwp_ajax_lrgawidget_getBrowserscore\system\wordpress\admin.actions.php:22
authwp_ajax_lrgawidget_getLanguagescore\system\wordpress\admin.actions.php:23
authwp_ajax_lrgawidget_getOScore\system\wordpress\admin.actions.php:24
authwp_ajax_lrgawidget_getDevicescore\system\wordpress\admin.actions.php:25
authwp_ajax_lrgawidget_getScreenResolutioncore\system\wordpress\admin.actions.php:26
authwp_ajax_lrgawidget_getPagescore\system\wordpress\admin.actions.php:27
authwp_ajax_lrgawidget_getGraphDatacore\system\wordpress\admin.actions.php:28
authwp_ajax_lrgawidget_getPermissionscore\system\wordpress\admin.actions.php:29
authwp_ajax_lrgawidget_review_responsecore\system\wordpress\admin.actions.php:30
WordPress Hooks 6
actionadmin_enqueue_scriptscore\system\wordpress\admin.actions.php:14
actionin_admin_headercore\system\wordpress\admin.actions.php:51
actioninitlara-google-analytics.php:32
actionadmin_initlara-google-analytics.php:33
actionwp_logoutlara-google-analytics.php:35
actionwp_headlara-google-analytics.php:36
Maintenance & Trust

Lara's Google Analytics (GA4) Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedOct 20, 2025
PHP min version5.6.0
Downloads354K

Community Trust

Rating94/100
Number of ratings122
Active installs9K
Developer Profile

Lara's Google Analytics (GA4) Developer Profile

Amr M. Ibrahim

1 plugin · 9K total installs

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

How We Detect Lara's Google Analytics (GA4)

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/lara-google-analytics/dist/css/lrgalite-main.css/wp-content/plugins/lara-google-analytics/dist/js/lrgalite-main.js/wp-content/plugins/lara-google-analytics/dist/js/lrgawidget_control.js
Script Paths
/wp-content/plugins/lara-google-analytics/dist/js/lrgalite-main.js/wp-content/plugins/lara-google-analytics/dist/js/lrgawidget_control.js
Version Parameters
lara-google-analytics/dist/css/lrgalite-main.css?ver=lara-google-analytics/dist/js/lrgalite-main.js?ver=lara-google-analytics/dist/js/lrgawidget_control.js?ver=

HTML / DOM Fingerprints

CSS Classes
lrgalite-main
Data Attributes
lrgawidget_ajax_url
JS Globals
lrgawidget_ajax_object
REST Endpoints
/wp-json/lrgawidget_hideShowWidget/wp-json/lrgawidget_getAuthURL/wp-json/lrgawidget_getAccessToken/wp-json/lrgawidget_getAccountSummaries/wp-json/lrgawidget_setMeasurementID/wp-json/lrgawidget_settingsReset/wp-json/lrgawidget_getMainGraph/wp-json/lrgawidget_getBrowsers/wp-json/lrgawidget_getLanguages/wp-json/lrgawidget_getOS/wp-json/lrgawidget_getDevices/wp-json/lrgawidget_getScreenResolution/wp-json/lrgawidget_getPages/wp-json/lrgawidget_getGraphData/wp-json/lrgawidget_getPermissions/wp-json/lrgawidget_review_response
FAQ

Frequently Asked Questions about Lara's Google Analytics (GA4)