CVE-2025-12540 ShareThis Dashboard for Google Analytics <= 3.2.4 - Unauthenticated Google Analytics Data Exposure

Medium 4.7 Published Updated

Unauthenticated attackers can expose Google Analytics credentials stored in plaintext, potentially leading to unauthorized data access via crafted links.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-12540?

CVE-2025-12540 is a medium-severity vulnerability in ShareThis Dashboard for Google Analytics, published on 7 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The ShareThis Dashboard for Google Analytics plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 3.2.4. This is due to the Google Analytics client_ID and client_secret being stored in plaintext in the publicly visible plugin source. This can allow unauthenticated attackers to craft a link to the sharethis.com server, which will share an authorization token for Google Analytics with a malicious website, if the attacker can trick an administrator logged into the website and Google Analytics to click the link.

Weakness: CWE-200

Which versions are affected by CVE-2025-12540?

How do I fix CVE-2025-12540?

No fix has been published for CVE-2025-12540 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-12540 being exploited?

There is no known exploitation of CVE-2025-12540 in the wild and no public exploit code.

Sources

Also known as GHSA-5mj2-hrcv-mv45.

Is CVE-2025-12540 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free