Gửi #768028: Bytedesk <=1.3.9 Unrestricted Upload of File with Dangerous Type (CWE-434)thông tin

tiêu đềBytedesk <=1.3.9 Unrestricted Upload of File with Dangerous Type (CWE-434)
Mô tả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.
Nguồn⚠️ https://github.com/Bytedesk/bytedesk/issues/18
Người dùng
 ZAST.AI (UID 87884)
Đệ trình26/02/2026 06:54 (cách đây 7 các tháng)
Kiểm duyệt07/03/2026 21:23 (10 days later)
Trạng tháiđược chấp nhận
Mục VulDB349726 [Bytedesk đến 1.3.9 SVG File UploadRestController.java uploadFile nâng cao đặc quyền]
điểm20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!