Описание
Label Studio is an a popular open source data labeling tool. Versions prior to 1.9.2 have a cross-site scripting (XSS) vulnerability that could be exploited when an authenticated user uploads a crafted image file for their avatar that gets rendered as a HTML file on the website. Executing arbitrary JavaScript could result in an attacker performing malicious actions on Label Studio users if they visit the crafted avatar image. For an example, an attacker can craft a JavaScript payload that adds a new Django Super Administrator user if a Django administrator visits the image.
The file users/functions.py lines 18-49 show that the only verification check is that the file is an image by extracting the dimensions from the file. Label Studio serves avatar images using Django's built-in serve view, which is not secure for production use according to Django's documentation. The issue with the Django serve view is that it determines the Content-Type of the response by the file extension
Ссылки
- Not Applicable
- Product
- Product
- Patch
- ExploitThird Party Advisory
- Not Applicable
- Product
- Product
- Patch
- ExploitThird Party Advisory
Уязвимые конфигурации
EPSS
7.1 High
CVSS3
5.4 Medium
CVSS3
Дефекты
Связанные уязвимости
Label Studio is an a popular open source data labeling tool. Versions ...
Cross-site Scripting Vulnerability on Avatar Upload
EPSS
7.1 High
CVSS3
5.4 Medium
CVSS3