Web Vitals Security & Risk Analysis

wordpress.org/plugins/web-vitals

Send Web Vitals to Google Analytics.

20 active installs v0.1.2 PHP 7.2+ WP 5.1+ Updated Jun 19, 2020
analyticsgagtagperformancetagmanager
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Web Vitals Safe to Use in 2026?

Generally Safe

Score 85/100

Web Vitals 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 web-vitals plugin v0.1.2 exhibits a strong security posture based on the provided static analysis. There are no identified entry points such as AJAX handlers, REST API routes, shortcodes, or cron events that are exposed to potential attackers. Furthermore, the code signals are predominantly positive, with no dangerous functions or file operations detected. The absence of external HTTP requests and the exclusive use of prepared statements for SQL queries are excellent security practices.

However, there are a couple of areas that warrant attention. The output escaping rate, at 64%, indicates that a significant portion (36%) of the plugin's outputs are not properly escaped. This could lead to cross-site scripting (XSS) vulnerabilities if user-supplied data is not adequately sanitized before being displayed. The lack of nonce and capability checks across all entry points (even though there are none) is a general concern for future development or if new entry points are added without these security measures. The vulnerability history is clean, with no known CVEs, which is a positive indicator of the plugin's past security.

In conclusion, the web-vitals plugin v0.1.2 is generally secure due to its minimal attack surface and sound coding practices in areas like SQL handling. The primary weakness lies in the incomplete output escaping, which presents a potential XSS risk. The absence of any past vulnerabilities is a strong positive, but the plugin should be vigilant in maintaining these standards, particularly regarding output sanitization.

Key Concerns

  • Low output escaping rate (64%)
  • No nonce checks implemented
  • No capability checks implemented
Vulnerabilities
None known

Web Vitals Security Vulnerabilities

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

Web Vitals Code Analysis

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

Output Escaping

64% escaped22 total outputs
Attack Surface

Web Vitals Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionadmin_menuincludes\class-sa-webvitals-admin.php:7
actionadmin_initincludes\class-sa-webvitals-admin.php:8
actionwp_headincludes\class-sa-webvitals.php:25
actionwp_footerincludes\class-sa-webvitals.php:46
Maintenance & Trust

Web Vitals Maintenance & Trust

Maintenance Signals

WordPress version tested5.4.19
Last updatedJun 19, 2020
PHP min version7.2
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs20
Developer Profile

Web Vitals Developer Profile

saltagency

1 plugin · 20 total installs

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

How We Detect Web Vitals

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/web-vitals/public/js/web-vitals.0.2.1.es5.umd.min.js
Script Paths
https://unpkg.com/web-vitals@0.2.1/dist/web-vitals.es5.umd.min.js

HTML / DOM Fingerprints

Data Attributes
name="webvitals:sink"
JS Globals
window.gawindow.gtagwindow.dataLayerwebVitals
FAQ

Frequently Asked Questions about Web Vitals