
Metrics Query Security & Risk Analysis
wordpress.org/plugins/metrics-queryConnects Google Analytics with your WordPress site. Displays stats to help you understand your users and site content on a whole new level!
Is Metrics Query Safe to Use in 2026?
Generally Safe
Score 85/100Metrics Query has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The "metrics-query" v1.0.3 plugin exhibits a generally good security posture, with a promising absence of known vulnerabilities and a robust implementation of security checks like nonces and capability checks. The static analysis indicates a well-defined attack surface, with all identified entry points protected by authentication mechanisms. Taint analysis further supports this, showing no critical or high severity unsanitized flows, suggesting a reduced risk of common web vulnerabilities like XSS or SQL injection.
However, a significant concern arises from the presence of the `unserialize()` function, which is a known source of critical vulnerabilities if user-controlled data is passed to it without proper sanitization. While no specific unsanitized flows were detected in the taint analysis, the mere presence of this function warrants caution. Additionally, the SQL query implementation, with only 75% using prepared statements, leaves a small window for potential SQL injection vulnerabilities, especially if the remaining un-prepared queries handle user input.
Overall, the plugin's clean vulnerability history is a strong positive indicator. However, the potential risks associated with `unserialize()` and the less-than-perfect SQL preparation mean that while the current known risk is low, a proactive approach to code review and sanitization of any data passed to `unserialize()` would further enhance its security.
Key Concerns
- Presence of unserialize() function
- SQL queries not fully using prepared statements
Metrics Query Security Vulnerabilities
Metrics Query Code Analysis
Dangerous Functions Found
SQL Query Safety
Output Escaping
Data Flow Analysis
Metrics Query Attack Surface
AJAX Handlers 6
Shortcodes 1
WordPress Hooks 34
Maintenance & Trust
Metrics Query Maintenance & Trust
Maintenance Signals
Community Trust
Metrics Query Alternatives
ExactMetrics – Google Analytics Dashboard for WordPress (Website Stats Plugin)
google-analytics-dashboard-for-wp
Connects Google Analytics with your WordPress site. Displays stats to help you understand your users and site content on a whole new level!
GAinWP Google Analytics Integration for WordPress
ga-in
Enable Google Analytics tracking and reporting dashboards in your WordPress site in just seconds.
Lara's Google Analytics (GA4)
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 …
Local Google Analytics for WordPress – caches external requests
simple-google-analytics
Plugs in Google Analytics code to your website pages and caches it, so the website loads faster.
MonsterInsights – Google Analytics Dashboard for WordPress (Website Stats Made Easy)
google-analytics-for-wordpress
The best free Google Analytics plugin for WordPress. See how visitors find and use your website so you can grow your business with powerful analytics.
Metrics Query Developer Profile
6 plugins · 2K total installs
How We Detect Metrics Query
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/metrics-query/admin/js/admin-setup.js/wp-content/plugins/metrics-query/admin/css/admin-setup.css/wp-content/plugins/metrics-query/frontend/js/frontend-setup.js/wp-content/plugins/metrics-query/frontend/css/frontend-setup.css/wp-content/plugins/metrics-query/common/js/common-setup.js/wp-content/plugins/metrics-query/common/css/common-setup.css/wp-content/plugins/metrics-query/tools/js/tools.js/wp-content/plugins/metrics-query/tools/css/tools.css+4 more/wp-content/plugins/metrics-query/admin/js/admin-setup.js/wp-content/plugins/metrics-query/frontend/js/frontend-setup.js/wp-content/plugins/metrics-query/common/js/common-setup.js/wp-content/plugins/metrics-query/tools/js/tools.js/wp-content/plugins/metrics-query/install/js/install.js/wp-content/plugins/metrics-query/widgets/js/widgets.jsmetrics-query/admin/css/admin-setup.css?ver=metrics-query/frontend/css/frontend-setup.css?ver=metrics-query/common/css/common-setup.css?ver=metrics-query/tools/css/tools.css?ver=metrics-query/install/css/install.css?ver=metrics-query/widgets/css/widgets.css?ver=metrics-query/admin/js/admin-setup.js?ver=metrics-query/frontend/js/frontend-setup.js?ver=metrics-query/common/js/common-setup.js?ver=metrics-query/tools/js/tools.js?ver=metrics-query/install/js/install.js?ver=metrics-query/widgets/js/widgets.js?ver=HTML / DOM Fingerprints
gadwp<!-- Metrics Query -->data-gadwp-settingsGADWP_ConfigGADWP_ToolsGADWP_TrackingGADWP_Frontend_AjaxGADWP_Frontend_SetupGADWP_Frontend_Item_Reports+6 more