Cross-Site Scripting Vulnerability in Label Studio by HumanSignal
CVE-2025-25296
Key Information:
- Vendor
Humansignal
- Status
- Vendor
- CVE Published:
- 14 February 2025
Badges
What is CVE-2025-25296?
Label Studio, an open-source data labeling tool, improperly sanitizes user input in its /projects/upload-example endpoint prior to version 1.16.0. An attacker can exploit this flaw by crafting a malicious label_config query parameter containing inline HTML and JavaScript. This allows the execution of arbitrary scripts in the browser of any user who accesses a specially crafted URL. Although there is a Content Security Policy in place, it is set to 'report-only' mode, which does not prevent the execution of injected scripts. Consequently, this vulnerability can result in various malicious actions, including theft of sensitive data and session hijacking. Version 1.16.0 rectifies this vulnerability.
Affected Version(s)
label-studio < 1.16.0
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
