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

TitelBytedesk <=1.3.9 Unrestricted Upload of File with Dangerous Type (CWE-434)
BeschreibungThe 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.
Quelle⚠️ https://github.com/Bytedesk/bytedesk/issues/19
Benutzer
 ZAST.AI (UID 87884)
Einreichung26.02.2026 07:03 (vor 5 Monaten)
Moderieren07.03.2026 21:23 (10 days later)
StatusAkzeptiert
VulDB Eintrag349727 [Bytedesk bis 1.3.9 SVG File UploadRestService.java handleFileUpload erweiterte Rechte]
Punkte20

Do you know our Splunk app?

Download it now for free!