CVE-2025-25296

Source
https://cve.org/CVERecord?id=CVE-2025-25296
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-25296.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-25296
Aliases
Published
2025-02-14T19:24:03.961Z
Modified
2025-12-05T08:53:43.231418Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Label Studio allows Cross-Site Scripting (XSS) via GET request to `/projects/upload-example` endpoint
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25296.json"
}
References

Affected packages

Git / github.com/humansignal/label-studio

Affected ranges

Type
GIT
Repo
https://github.com/humansignal/label-studio
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v.*
v.0.1.0
v.0.1.1
v.0.1.2
v.0.1.4
v.0.1.5
v.0.1.6
v.0.2.0
v.0.2.1-2
v.0.2.1-3
v.0.2.1-4
v.0.2.1-5
v.0.2.1-8
v0.*
v0.2.2
v0.3.0
v0.4.0
v0.4.4
v0.4.5
v0.4.6
v0.4.7
v0.4.8
v0.5.0
v0.5.1
v0.6.0
v0.6.1
v0.7.0
v0.7.1
v0.7.2
v0.7.3
v0.7.5.post0
v0.8.0
v0.8.1
v0.8.2
v0.9.0
v0.9.0.post3
v0.9.0.post4
v0.9.0.post5
v0.9.1.post0
v0.9.1.post1
v1.*
v1.0.0
v1.0.1
v1.0.2
v1.1.0
v1.1.1
v1.2.0
v1.3.0
v1.4.0
v1.4.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-25296.json"