CVE-2020-20626: 
WordPress vulnerability analysis and mitigation

Overview

The WordPress Lara Google Analytics plugin version 2.0.4 and earlier was affected by an authenticated stored Cross-Site Scripting (XSS) vulnerability (CVE-2020-20626). The vulnerability was discovered and reported on October 13, 2019, affecting over 20,000 active installations. The issue was patched in version 2.0.5, which was released the same day (NinTechNet Blog).

Technical details

The vulnerability existed in the main 'lara-google-analytics.php' script, specifically in the lrgawidget_callback function that was called via the WordPress AJAX API through the lrgawidget_setProfileID action. The function failed to properly sanitize the property_id field input, allowing for JavaScript code injection. The vulnerability has a CVSS v3.1 base score of 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

The vulnerability allowed authenticated users, including those with low-privilege accounts such as subscribers, to inject malicious JavaScript code into all pages and posts of the affected WordPress installation. This injected code would then be executed in the context of other users' browsers when viewing the affected pages (NinTechNet Blog).

Exploitability

The vulnerability was actively exploited in the wild at the time of discovery. The exploitation required an authenticated user account on the target WordPress site, even with minimal privileges such as a subscriber role (NinTechNet Blog).

Mitigation and workarounds

Users were advised to immediately update to version 2.0.5 or later of the plugin. While the initial patch blocked the ongoing attacks, it was noted that the update still lacked proper capability checks. Users of NinjaFirewall WP Edition (free) and NinjaFirewall WP+ Edition (premium) were protected against this vulnerability (NinTechNet Blog).

Additional resources


Source: This report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-107791MEDIUM6.5
  • delete-all-comments-of-website
NoYesOct 12, 2026
CVE-2026-84167MEDIUM4.3
  • nd-booking
NoNoOct 12, 2026
CVE-2026-84166MEDIUM4.3
  • nd-booking
NoNoOct 12, 2026
CVE-2026-97183MEDIUM4.3
  • wp-invoice
NoNoOct 11, 2026
CVE-2025-15703LOW3.5
  • wp-job-openings
NoYesOct 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management