| タイトル | 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日 06:54 (8 月 ago) |
|---|
| モデレーション | 2026年03月07日 21:23 (10 days later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 349726 [Bytedesk 迄 1.3.9 SVG File UploadRestController.java uploadFile 特権昇格] |
|---|
| ポイント | 20 |
|---|