CVE-2021-24438
WordPress vulnerability analysis and mitigation

Overview

The vulnerability CVE-2021-24438 affects the ShareThis Dashboard for Google Analytics WordPress plugin versions below 2.5.2. It was discovered and publicly disclosed on August 2, 2021. The vulnerability is a Reflected Cross-Site Scripting (XSS) issue that occurs when the plugin is connected to a Google Analytics account (WPScan).

Technical details

The vulnerability stems from improper sanitization of the 'ga_action' parameter in the stats view. When the plugin is connected to a Google Analytics account, this parameter is output back in an attribute without proper escaping, leading to a reflected Cross-Site Scripting vulnerability. The vulnerability has been assigned a CVSS score of 7.1 (High) and is classified under CWE-79 (WPScan).

Impact

When exploited, this vulnerability allows the execution of malicious scripts in the context of a logged-in administrator. This could potentially lead to unauthorized actions being performed with administrative privileges on the affected WordPress installation (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in version 2.5.2 of the ShareThis Dashboard for Google Analytics plugin. Users are advised to update to this version or later to mitigate the risk (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14001MEDIUM5.4
  • wp-duplicate-page
NoYesJan 13, 2026
CVE-2025-14579MEDIUM4.8
  • quiz-maker
NoYesJan 12, 2026
CVE-2025-13393MEDIUM4.3
  • featured-image-from-url
NoYesJan 10, 2026
CVE-2025-14829N/AN/A
  • e-xact-hosted-payment
NoNoJan 13, 2026
CVE-2025-10915N/AN/A
  • dreamer-blog
NoNoJan 13, 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