CVE-2021-25088 Google XML Sitemaps < 4.1.3 - Admin+ Stored Cross-Site Scripting
High-privilege users can inject malicious scripts via unsanitized settings in the Google XML Sitemaps plugin, leading to stored XSS.
- 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-25088?
CVE-2021-25088 is a medium-severity cross-site scripting vulnerability in Unknown XML Sitemaps, published on 20 Jun 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
The XML Sitemaps WordPress plugin before 4.1.3 does not sanitise and escape a settings before outputting it in the Debug page, which could allow high privilege users to perform Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup)
Weakness: CWE-79
Which versions are affected by CVE-2021-25088?
It affects 1 product.
Products include Google Xml Sitemaps Project Google Xml Sitemaps.
How do I fix CVE-2021-25088?
No fix has been published for CVE-2021-25088 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-25088 being exploited?
There is no known exploitation of CVE-2021-25088 in the wild and no public exploit code.
Other vulnerabilities in Unknown XML Sitemaps
Sources
Also known as GHSA-23f5-2x6m-443f.