CVE-2022-3904 MonsterInsights < 8.9.1 - Stored Cross-Site Scripting via Google Analytics
An unauthenticated attacker can inject arbitrary web scripts into page titles via spoofed Google Analytics requests, affecting MonsterInsights users.
- 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-2022-3904?
CVE-2022-3904 is a medium-severity cross-site scripting vulnerability in Unknown MonsterInsights, published on 16 Jan 2023. 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 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.
Weakness: CWE-79
Which versions are affected by CVE-2022-3904?
It affects 1 product.
Products include Monsterinsights Monsterinsights.
How do I fix CVE-2022-3904?
No fix has been published for CVE-2022-3904 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-3904 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3904 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Unknown MonsterInsights
Sources
Also known as GHSA-cjcj-g2w6-gp9q.