Skip to content
MediumVulnerability

CVE-2025-25296: Label Studio XSS through the /projects/upload-example endpoint

Identifier
CVE-2025-25296
Published
Record updated
View JSON
Affected
  • label-studio < 1.16.0
Fixed in
1.16.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
2.0%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Label Studio versions before 1.16.0 expose the `/projects/upload-example` endpoint, which renders user-supplied HTML on a GET request without sanitization. An attacker can craft a `label_config` query parameter with inline task data containing JavaScript, and a victim who visits the malicious URL executes it in their browser, enabling cross-site scripting. The Content Security Policy is set only in report-only mode, so it does not block script execution.

Mitigation

Version 1.16.0 contains a patch for the issue.