CVE-2022-1216 Advanced Image Sitemap <= 1.2 - Reflected Cross-Site Scripting
Attackers can execute arbitrary scripts in admin sessions via reflected XSS in the Advanced Image Sitemap plugin, potentially compromising administrator accounts.
- 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-1216?
CVE-2022-1216 is a medium-severity cross-site scripting vulnerability in Unknown Advanced Image Sitemap, published on 16 May 2022. 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 Advanced Image Sitemap WordPress plugin through 1.2 does not sanitise and escape the PHP_SELF PHP variable before outputting it back in an attribute in an admin page, leading to Reflected Cross-Site Scripting.
Weakness: CWE-79
Which versions are affected by CVE-2022-1216?
It affects 1 product.
Products include Advanced Image Sitemap Project Advanced Image Sitemap.
How do I fix CVE-2022-1216?
No fix has been published for CVE-2022-1216 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-1216 being exploited?
There is no known exploitation of CVE-2022-1216 in the wild and no public exploit code.
Sources
Also known as GHSA-4qpg-wmf9-vgr8.