| Título | Bytedesk <=1.3.9 Unrestricted Upload of File with Dangerous Type (CWE-434) |
|---|
| Descripción | 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. |
|---|
| Fuente | ⚠️ https://github.com/Bytedesk/bytedesk/issues/18 |
|---|
| Usuario | ZAST.AI (UID 87884) |
|---|
| Sumisión | 2026-02-26 06:54 (hace 8 meses) |
|---|
| Moderación | 2026-03-07 21:23 (10 days later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 349726 [Bytedesk hasta 1.3.9 SVG File UploadRestController.java uploadFile escalada de privilegios] |
|---|
| Puntos | 20 |
|---|