# CVE-2025-47783: HumanSignal Label Studio reflected XSS in label_config parameter

Source: https://junglewise.ai/threats/cve-2025-47783-humansignal-label-studio-reflected-xss-in-label-config-parameter  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-05-15. Updated: 2026-06-06  
License: CC BY 4.0 with a link back

CVE-2025-47783 · Severity: high · CVSS 4 · Published 2025-05-15

Label Studio, a popular open-source data labeling platform, is vulnerable to a security flaw that allows attackers to run malicious scripts in a user's browser. By tricking a user into clicking a link or visiting a malicious website, an attacker could perform unauthorized actions on the user's behalf within the application. While session cookies are protected, this could still lead to data exposure or unauthorized modifications to labeling projects.

Technologies: [label-studio (PyPI)](https://junglewise.ai/threats/technologies/label-studio). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2025-47783 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-47783 being exploited in the wild.

**How severe is CVE-2025-47783?** High severity, with a CVSS score of 4, published 15 May 2025.

**Which products and versions are affected?** label-studio (PyPI) < 1.18.0, ECOSYSTEM:introduced=0,fixed=1.18.0.

**Is there a fix for CVE-2025-47783?** Yes. label-studio (PyPI): upgrade to 1.18.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-47783 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2025-47783?** Check whether you run label-studio (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- label-studio (PyPI): upgrade to 1.18.0 or later

  ```sh
  pip install "label-studio>=1.18.0"
  ```


## Technical details

A reflected Cross-Site Scripting (XSS) vulnerability exists in Label Studio's `POST /projects/upload-example/` endpoint. The root cause is located in `label_studio/projects/views.py`, where the `label_config` POST parameter is processed and subsequently returned in an `HttpResponse` using `json.dumps()` without sufficient sanitization or proper Content-Type headers to prevent browser execution. An attacker can exploit this by crafting a malicious request (e.g., via a hidden form on a third-party site) that executes arbitrary JavaScript in the victim's browser session. While `HttpOnly` flags on session cookies mitigate direct session hijacking, the attacker can still perform any action the user is authorized to do. The vulnerability is patched in version 1.18.0.

## Affected products

- HumanSignal label-studio < 1.18.0

## Identifiers

- CVE-2025-47783
- GHSA-8jhr-wpcm-hh4h
- PYSEC-2025-124

## Timeline

- 2025-05-14: disclosed
- 2025-05-15: advisory: GitHub Advisory published
- 1.18.0: patched

## References

- [https://api.github.com/users/Medok228](https://api.github.com/users/Medok228)
- [https://github.com/Medok228](https://github.com/Medok228)
- [https://api.github.com/users/Medok228/gists%7B/gist_id%7D](https://api.github.com/users/Medok228/gists%7B/gist_id%7D)
- [https://api.github.com/users/Medok228/repos](https://api.github.com/users/Medok228/repos)
- [https://avatars.githubusercontent.com/u/101337215?v=4](https://avatars.githubusercontent.com/u/101337215?v=4)
- [https://api.github.com/users/Medok228/events%7B/privacy%7D](https://api.github.com/users/Medok228/events%7B/privacy%7D)

## Related threats

- [Label Studio stored XSS in custom_hotkeys with account takeover](https://junglewise.ai/threats/cve-2026-22033-label-studio-stored-xss-in-custom-hotkeys-with-account-takeover)
- [PYSEC-2026-1503 - Label Studio allows Server-Side Request Forgery in the S3 Storage Endpoint](https://junglewise.ai/threats/cve-2025-25297-label-studio-allows-server-side-request-forgery-in-the-s3-storage)
- [PYSEC-2026-1504 - Label Studio allows Cross-Site Scripting (XSS) via GET request to `/projects/upload-example` endpoint](https://junglewise.ai/threats/cve-2025-25296-label-studio-allows-cross-site-scripting-xss-via-get-request-to)
- [Label Studio vulnerable to Cross-site Scripting if `<Choices>` or `<Labels>` are used in labeling config](https://junglewise.ai/threats/cve-2024-26152-label-studio-vulnerable-to-cross-site-scripting-if-choices-or)
- [Label Studio SSRF on Import Bypassing `SSRF_PROTECTION_ENABLED` Protections](https://junglewise.ai/threats/cve-2023-47116-label-studio-ssrf-on-import-bypassing-ssrf-protection-enabled)
