Skip to content
MediumVulnerability

CVE-2024-23633: Label Studio remote import allows HTML file with JavaScript execution

Identifier
CVE-2024-23633
Published
Record updated
View JSON
Affected
  • label-studio < 1.10.1
Fixed in
1.10.1
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Label Studio, an open source data labeling tool, had a remote import feature that downloaded files from a web source and served them from the Label Studio site. Before version 1.10.1, an attacker could import a crafted .html file that executed JavaScript in the context of the Label Studio website, and this could be used to perform actions against users who visited a crafted avatar image, such as adding a Django Super Administrator user if a Django administrator visited the image.

Mitigation

Version 1.10.1 contains a patch for this issue. Other remediation strategies are also available: for all user provided files downloaded by Label Studio, set the `Content-Security-Policy: sandbox;` response header when viewed on the site, or restrict the allowed file extensions that may be downloaded.