CVE-2021-24502 WP Google Map < 1.7.7 - Authenticated Stored Cross-Site Scripting (XSS)
Authenticated attackers can inject malicious scripts via unsanitized map titles in the WP Google Map plugin, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-24502?
CVE-2021-24502 is a medium-severity cross-site scripting vulnerability in Unknown Maps Plugin using Google Maps for WordPress – WP Google Map, published on 9 Aug 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
The WP Google Map WordPress plugin before 1.7.7 did not sanitise or escape the Map Title before outputting them in the page, leading to a Stored Cross-Site Scripting issue by high privilege users, even when the unfiltered_html capability is disallowed
Weakness: CWE-79
Which versions are affected by CVE-2021-24502?
It affects 1 product.
Products include Weplugins Wp Maps.
How do I fix CVE-2021-24502?
No fix has been published for CVE-2021-24502 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-2021-24502 being exploited?
There is no known exploitation of CVE-2021-24502 in the wild and no public exploit code.
Other vulnerabilities in Unknown Maps Plugin using Google Maps for WordPress – WP Google Map
Sources
Also known as GHSA-7hcc-mq7f-h4mv.