# CVE-2025-25296: Label Studio allows Cross-Site Scripting (XSS) via GET request to `/projects/upload-example` endpoint

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.01%, higher than 81% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-02-14T15:23:03.000Z
- Modified: 2026-07-07T17:56:12.881Z
- Also known as: GHSA-wpq5-3366-mqw4, PYSEC-2026-1504
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- HumanSignal label-studio: < 1.16.0
- label-studio (PyPI): before 1.16.0
- humansignal label_studio: before 1.16.0

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/HumanSignal/label-studio/security/advisories/GHSA-wpq5-3366-mqw4> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/HumanSignal/label-studio/commit/8cf6958e1e27ef6a03ed287e674470975d340885> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-25296> (advisory)
- <https://github.com/HumanSignal/label-studio> (package)
- <https://pypi.org/project/label-studio> (package)
- <https://github.com/advisories/GHSA-wpq5-3366-mqw4> (advisory)

## Sources

- CVE List: [CVE-2025-25296](https://www.cve.org/CVERecord?id=CVE-2025-25296), CVE Terms of Use, modified 2025-02-14
- GitHub Advisory Database: [GHSA-wpq5-3366-mqw4](https://github.com/advisories/GHSA-wpq5-3366-mqw4), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-25296](https://nvd.nist.gov/vuln/detail/CVE-2025-25296), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1504](https://osv.dev/vulnerability/PYSEC-2026-1504), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-25296 · Whole record: https://cve.day/CVE-2025-25296.json · Rebuilt by cve.day 2026-11-25T22:58:54.116Z
