{"cve":"CVE-2025-25296","nvd":{"published":"2025-02-14T20:15:36.103","modified":"2026-06-17T09:00:38.237","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/HumanSignal/label-studio/commit/8cf6958e1e27ef6a03ed287e674470975d340885","https://github.com/HumanSignal/label-studio/security/advisories/GHSA-wpq5-3366-mqw4"],"products":["humansignal:label_studio"],"source":"nvd","synced_at":"2026-10-19T21:59:18.731010617+00:00"},"epss":{"cve":"CVE-2025-25296","score":0.01898,"percentile":0.79651,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-wpq5-3366-mqw4","url":"https://osv.dev/vulnerability/GHSA-wpq5-3366-mqw4","summary":"Label Studio allows Cross-Site Scripting (XSS) via GET request to `/projects/upload-example` endpoint","modified":"2026-07-07T17:56:12.881064119Z","packages":[{"ecosystem":"PyPI","name":"label-studio","purl":"pkg:pypi/label-studio","ranges":["<1.16.0"],"fixed":["1.16.0"]}]},{"id":"PYSEC-2026-1504","url":"https://osv.dev/vulnerability/PYSEC-2026-1504","summary":"Label Studio allows Cross-Site Scripting (XSS) via GET request to `/projects/upload-example` endpoint","modified":"2026-07-07T17:47:16.440623946Z","packages":[{"ecosystem":"PyPI","name":"label-studio","purl":"pkg:pypi/label-studio","ranges":["<1.16.0"],"fixed":["1.16.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}