| 제목 | Bytedesk <=1.3.9 Unrestricted Upload of File with Dangerous Type (CWE-434) |
|---|
| 설명 | The authenticated endpoint POST /api/v1/upload/file accepts SVG files with embedded <script> tags. Although isAllowedFileType() permits image/svg+xml, the server stores the file without sanitizing its contents. An attacker with a valid token uploads a malicious SVG containing JavaScript; the returned fileUrl serves the file directly. When a victim visits the URL, the browser executes the script, resulting in Stored XSS. |
|---|
| 원천 | ⚠️ https://github.com/Bytedesk/bytedesk/issues/18 |
|---|
| 사용자 | ZAST.AI (UID 87884) |
|---|
| 제출 | 2026. 02. 26. AM 06:54 (5 개월 ago) |
|---|
| 모더레이션 | 2026. 03. 07. PM 09:23 (10 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 349726 [Bytedesk 까지 1.3.9 SVG File UploadRestController.java uploadFile 권한 상승] |
|---|
| 포인트들 | 20 |
|---|