{"id":"CVE-2025-25296","published":"2025-02-14T19:24:03Z","modified":"2025-02-14T20:01:37Z","title":"Label Studio allows Cross-Site Scripting (XSS) via GET request to `/projects/upload-example` endpoint","vendor":"HumanSignal","product":"label-studio","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02009,"percentile":0.81346,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/HumanSignal/label-studio/security/advisories/GHSA-wpq5-3366-mqw4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/HumanSignal/label-studio/commit/8cf6958e1e27ef6a03ed287e674470975d340885","tags":["x_refsource_MISC"]}],"priority":{"score":25.5,"factors":[{"name":"EPSS percentile","points":16.27},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.27}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-03-01","earliestUrl":"https://github.com/math-x-io/CVE-2025-25296","repos":[{"name":"math-x-io/CVE-2025-25296","url":"https://github.com/math-x-io/CVE-2025-25296","stars":2,"created":"2025-03-01"}]},"nuclei":[{"id":"CVE-2025-25296","name":"Label Studio < 1.16.0 - Cross-Site Scripting","severity":"medium","path":"http/cves/2025/CVE-2025-25296.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-25296.yaml"}],"first":{"date":"2025-03-01","source":"PoC-in-GitHub","url":"https://github.com/math-x-io/CVE-2025-25296"},"provenance":"source"},"vendorSlug":"humansignal","affectedVersions":[{"vendor":"HumanSignal","product":"label-studio","versions":["< 1.16.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-14T20:01:11.676011Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"label-studio","vulnerableRanges":["<1.16.0"],"patched":["1.16.0"],"from":["GHSA-wpq5-3366-mqw4","PYSEC-2026-1504"],"provenance":"source"}],"summary":{"text":"Label Studio, the open source data labeling tool from HumanSignal, has a cross-site scripting flaw in its /projects/upload-example endpoint, which renders user-supplied HTML from a GET request's label_config parameter without sanitization. An attacker can exploit it by getting a victim to open a crafted URL, which requires user interaction and no prior authentication or network access beyond reaching the application, and the page's Content Security Policy runs in report-only mode so it does not block the injected script from executing in the victim's browser.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T07:24:12Z"},"euvd":{"id":"EUVD-2025-4106","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-humansignal-label-studio-cve-2025-25296","children":[{"from":"CVE-2025-25296","to":"CVE-2025-47783","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["label_studio/projects/views.py"],"commits":["https://github.com/HumanSignal/label-studio/commit/8cf6958e1e27ef6a03ed287e674470975d340885","https://github.com/HumanSignal/label-studio/commit/97db9e7b16783e1f6052eb432a6f014f80ef268d"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-23633","published":"2024-01-23","fixed":"1.10.1","kev":false},{"cve":"CVE-2023-47116","published":"2024-01-31","fixed":"1.11.0","kev":false},{"cve":"CVE-2024-26152","published":"2024-02-22","fixed":"1.11.0","kev":false,"link":{"from":"CVE-2024-26152","to":"CVE-2025-25296","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:label-studio","fromFixed":"1.11.0","toFixed":"1.16.0","daysApart":358}]}},{"cve":"CVE-2025-25296","published":"2025-02-14","fixed":"1.16.0","kev":false},{"cve":"CVE-2025-25297","published":"2025-02-14","fixed":"1.16.0","kev":false},{"cve":"CVE-2025-47783","published":"2025-05-14","fixed":"1.18.0","kev":false}],"package":"PyPI:label-studio"}}