إرسال #768028: 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 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.
المصدر⚠️ https://github.com/Bytedesk/bytedesk/issues/18
المستخدم
 ZAST.AI (UID 87884)
ارسال26/02/2026 06:54 AM (5 أشهر منذ)
الاعتدال07/03/2026 09:23 PM (10 days later)
الحالةتمت الموافقة
إدخال VulDB349726 [Bytedesk حتى 1.3.9 SVG File UploadRestController.java uploadFile تجاوز الصلاحيات]
النقاط20

Do you want to use VulDB in your project?

Use the official API to access entries easily!