提交 #768030: Bytedesk <=1.3.9 Unrestricted Upload of File with Dangerous Type (CWE-434)信息

标题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

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!