CVE-2022-0346 Google XML Sitemap Generator < 2.0.4 - Reflected Cross-Site Scripting

Medium 6.1 Published Updated

Attackers can inject malicious scripts via unvalidated parameters, potentially leading to remote code execution if specific PHP settings are enabled.

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-0346?

CVE-2022-0346 is a medium-severity cross-site scripting vulnerability in Unknown XML Sitemap Generator for Google, published on 23 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 XML Sitemap Generator for Google WordPress plugin before 2.0.4 does not validate a parameter which can be set to an arbitrary value, thus causing XSS via error message or RCE if allow_url_include is turned on.

Weakness: CWE-79

Which versions are affected by CVE-2022-0346?

It affects 1 product.

Products include Xmlsitemapgenerator Xml Sitemap Generator.

How do I fix CVE-2022-0346?

No fix has been published for CVE-2022-0346 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-0346 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-0346 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-rp7p-6rw5-m696.

Is CVE-2022-0346 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free