CVE-2022-0346
WordPress vulnerability analysis and mitigation

Overview

The XML Sitemap Generator for Google WordPress plugin versions prior to 2.0.4 contains a security vulnerability identified as CVE-2022-0346. The vulnerability was discovered by Krzysztof Zając and was publicly disclosed on May 2, 2022. This security issue affects the WordPress plugin 'www-xml-sitemap-generator-org' and involves improper parameter validation (WPScan).

Technical details

The vulnerability is classified as a Cross-Site Scripting (XSS) issue with a CVSS score of 6.1 (Medium). It is categorized under CWE-79 and falls into the OWASP Top 10 category A7: Cross-Site Scripting (XSS). The core issue stems from the plugin's failure to properly validate a parameter that can be set to arbitrary values. This vulnerability can manifest either as an XSS attack through error messages or potentially as Remote Code Execution (RCE) if the PHP setting 'allow_url_include' is enabled (WPScan).

Impact

The vulnerability can be exploited to execute cross-site scripting attacks via error messages. In more severe scenarios, if the PHP configuration has 'allow_url_include' enabled, it could potentially lead to remote code execution, allowing attackers to execute arbitrary PHP code on the affected system (WPScan).

Mitigation and workarounds

The vulnerability has been patched in version 2.0.4 of the XML Sitemap Generator for Google WordPress plugin. Users are advised to update to this version or later to mitigate the security risk (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-0726HIGH8.1
  • nexter-extension
NoYesJan 20, 2026
CVE-2026-0690MEDIUM6.4
  • flatpm-wp
NoYesJan 20, 2026
CVE-2026-0608MEDIUM6.4
  • head-meta-data
NoYesJan 20, 2026
CVE-2026-0548MEDIUM5.4
  • tutor
NoYesJan 20, 2026
CVE-2026-0554MEDIUM4.3
  • notificationx
NoYesJan 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management