Vulnerability Description
Label Studio is an open source data labeling tool. Prior to version 1.16.0, Label Studio's `/projects/upload-example` endpoint allows injection of arbitrary HTML through a `GET` request with an appropriately crafted `label_config` query parameter. By crafting a specially formatted XML label config with inline task data containing malicious HTML/JavaScript, an attacker can achieve Cross-Site Scripting (XSS). While the application has a Content Security Policy (CSP), it is only set in report-only mode, making it ineffective at preventing script execution. The vulnerability exists because the upload-example endpoint renders user-provided HTML content without proper sanitization on a GET request. This allows attackers to inject and execute arbitrary JavaScript in victims' browsers by getting them to visit a maliciously crafted URL. This is considered vulnerable because it enables attackers to execute JavaScript in victims' contexts, potentially allowing theft of sensitive data, session hijacking, or other malicious actions. Version 1.16.0 contains a patch for the issue.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Humansignal | Label Studio | < 1.16.0 |
Related Weaknesses (CWE)
References
- https://github.com/HumanSignal/label-studio/commit/8cf6958e1e27ef6a03ed287e67447Patch
- https://github.com/HumanSignal/label-studio/security/advisories/GHSA-wpq5-3366-mExploitMitigationVendor Advisory
FAQ
What is CVE-2025-25296?
CVE-2025-25296 is a vulnerability with a CVSS score of 6.1 (MEDIUM). Label Studio is an open source data labeling tool. Prior to version 1.16.0, Label Studio's `/projects/upload-example` endpoint allows injection of arbitrary HTML through a `GET` request with an approp...
How severe is CVE-2025-25296?
CVE-2025-25296 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-25296?
Check the references section above for vendor advisories and patch information. Affected products include: Humansignal Label Studio.