| 标题 | Bytedesk <=1.3.9 Unrestricted Upload of File with Dangerous Type (CWE-434) |
|---|
| 描述 | The authenticated file upload endpoint routes SVG files through UploadWatermarkService.addWatermarkToFile(), which writes the file to disk without stripping embedded JavaScript. The POC uploads an SVG containing <script>alert(...)></script> to POST /api/v1/upload/file; the server returns HTTP 200 and a public URL. Visiting the URL triggers Stored XSS, bypassing watermark processing without sanitization. |
|---|
| 来源 | ⚠️ https://github.com/Bytedesk/bytedesk/issues/19 |
|---|
| 用户 | ZAST.AI (UID 87884) |
|---|
| 提交 | 2026-02-26 07時03分 (5 月前) |
|---|
| 管理 | 2026-03-07 21時23分 (10 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 349727 [Bytedesk 直到 1.3.9 SVG File UploadRestService.java handleFileUpload 权限提升] |
|---|
| 积分 | 20 |
|---|