Skip to content

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

MediumCVSS 6.1 EPSS 2.0% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
HumanSignal Label Studio < 1.16.0 1.16.0 Fixed
pypi label-studio(PyPI) < 1.16.0; = 0.4.1; = 0.4.2; = 0.4.3 +85 more 1.16.0 Fixed
HumanSignal label-studio = < 1.16.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi label-studio(PyPI) < 1.16.0 1.16.0
pypi label-studio(PyPI) = 0.4.1 No fix listed
pypi label-studio(PyPI) = 0.4.2 No fix listed
pypi label-studio(PyPI) = 0.4.3 No fix listed
pypi label-studio(PyPI) = 0.4.4 No fix listed
pypi label-studio(PyPI) = 0.4.4.post1 No fix listed
pypi label-studio(PyPI) = 0.4.4.post2 No fix listed
pypi label-studio(PyPI) = 0.4.5 No fix listed
pypi label-studio(PyPI) = 0.4.6 No fix listed
pypi label-studio(PyPI) = 0.4.6.post1 No fix listed
pypi label-studio(PyPI) = 0.4.6.post2 No fix listed
pypi label-studio(PyPI) = 0.4.7 No fix listed
pypi label-studio(PyPI) = 0.4.8 No fix listed
pypi label-studio(PyPI) = 0.5.0 No fix listed
pypi label-studio(PyPI) = 0.5.1 No fix listed
pypi label-studio(PyPI) = 0.6.0 No fix listed
pypi label-studio(PyPI) = 0.6.1 No fix listed
pypi label-studio(PyPI) = 0.7.0 No fix listed
pypi label-studio(PyPI) = 0.7.1 No fix listed
pypi label-studio(PyPI) = 0.7.2 No fix listed
pypi label-studio(PyPI) = 0.7.3 No fix listed
pypi label-studio(PyPI) = 0.7.4 No fix listed
pypi label-studio(PyPI) = 0.7.4.post0 No fix listed
pypi label-studio(PyPI) = 0.7.4.post1 No fix listed
pypi label-studio(PyPI) = 0.7.5.post1 No fix listed
Show 66 more
ProductAffected versionsFixed in
pypi label-studio(PyPI) = 0.7.5.post2 No fix listed
pypi label-studio(PyPI) = 0.8.0 No fix listed
pypi label-studio(PyPI) = 0.8.0.post0 No fix listed
pypi label-studio(PyPI) = 0.8.1 No fix listed
pypi label-studio(PyPI) = 0.8.1.post0 No fix listed
pypi label-studio(PyPI) = 0.8.2 No fix listed
pypi label-studio(PyPI) = 0.8.2.post0 No fix listed
pypi label-studio(PyPI) = 0.9.0 No fix listed
pypi label-studio(PyPI) = 0.9.0.post2 No fix listed
pypi label-studio(PyPI) = 0.9.0.post3 No fix listed
pypi label-studio(PyPI) = 0.9.0.post4 No fix listed
pypi label-studio(PyPI) = 0.9.0.post5 No fix listed
pypi label-studio(PyPI) = 0.9.1 No fix listed
pypi label-studio(PyPI) = 0.9.1.post0 No fix listed
pypi label-studio(PyPI) = 0.9.1.post1 No fix listed
pypi label-studio(PyPI) = 0.9.1.post2 No fix listed
pypi label-studio(PyPI) = 1.0.0 No fix listed
pypi label-studio(PyPI) = 1.0.0.post0 No fix listed
pypi label-studio(PyPI) = 1.0.0.post1 No fix listed
pypi label-studio(PyPI) = 1.0.0.post2 No fix listed
pypi label-studio(PyPI) = 1.0.0.post3 No fix listed
pypi label-studio(PyPI) = 1.0.1 No fix listed
pypi label-studio(PyPI) = 1.0.2 No fix listed
pypi label-studio(PyPI) = 1.0.2.post0 No fix listed
pypi label-studio(PyPI) = 1.1.0 No fix listed
pypi label-studio(PyPI) = 1.1.0rc0 No fix listed
pypi label-studio(PyPI) = 1.1.1 No fix listed
pypi label-studio(PyPI) = 1.10.0 No fix listed
pypi label-studio(PyPI) = 1.10.0.post0 No fix listed
pypi label-studio(PyPI) = 1.10.1 No fix listed
pypi label-studio(PyPI) = 1.11.0 No fix listed
pypi label-studio(PyPI) = 1.12.0 No fix listed
pypi label-studio(PyPI) = 1.12.0.post0 No fix listed
pypi label-studio(PyPI) = 1.12.1 No fix listed
pypi label-studio(PyPI) = 1.13.0 No fix listed
pypi label-studio(PyPI) = 1.13.1 No fix listed
pypi label-studio(PyPI) = 1.14.0 No fix listed
pypi label-studio(PyPI) = 1.14.0.post0 No fix listed
pypi label-studio(PyPI) = 1.15.0 No fix listed
pypi label-studio(PyPI) = 1.2 No fix listed
pypi label-studio(PyPI) = 1.3 No fix listed
pypi label-studio(PyPI) = 1.3.post0 No fix listed
pypi label-studio(PyPI) = 1.3.post1 No fix listed
pypi label-studio(PyPI) = 1.4 No fix listed
pypi label-studio(PyPI) = 1.4.1 No fix listed
pypi label-studio(PyPI) = 1.4.1.post0 No fix listed
pypi label-studio(PyPI) = 1.4.1.post1 No fix listed
pypi label-studio(PyPI) = 1.5.0 No fix listed
pypi label-studio(PyPI) = 1.5.0.post0 No fix listed
pypi label-studio(PyPI) = 1.6.0 No fix listed
pypi label-studio(PyPI) = 1.7.0 No fix listed
pypi label-studio(PyPI) = 1.7.1 No fix listed
pypi label-studio(PyPI) = 1.7.2 No fix listed
pypi label-studio(PyPI) = 1.7.3 No fix listed
pypi label-studio(PyPI) = 1.8.0 No fix listed
pypi label-studio(PyPI) = 1.8.1 No fix listed
pypi label-studio(PyPI) = 1.8.2 No fix listed
pypi label-studio(PyPI) = 1.8.2.post0 No fix listed
pypi label-studio(PyPI) = 1.8.2.post1 No fix listed
pypi label-studio(PyPI) = 1.9.0 No fix listed
pypi label-studio(PyPI) = 1.9.1 No fix listed
pypi label-studio(PyPI) = 1.9.1.post0 No fix listed
pypi label-studio(PyPI) = 1.9.2 No fix listed
pypi label-studio(PyPI) = 1.9.2.post0 No fix listed
HumanSignal label-studio = < 1.16.0 No fix listed
HumanSignal Label Studio < 1.16.0 1.16.0

References