Submit #768030: Bytedesk <=1.3.9 Unrestricted Upload of File with Dangerous Type (CWE-434)info

TitleBytedesk <=1.3.9 Unrestricted Upload of File with Dangerous Type (CWE-434)
DescriptionThe 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.
Source⚠️ https://github.com/Bytedesk/bytedesk/issues/19
User
 ZAST.AI (UID 87884)
Submission02/26/2026 07:03 (2 months ago)
Moderation03/07/2026 21:23 (10 days later)
StatusAccepted
VulDB entry349727 [Bytedesk up to 1.3.9 SVG File UploadRestService.java handleFileUpload unrestricted upload]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!