CVE-2025-25296
Python vulnerability analysis and mitigation

Overview

Label Studio, an open source data labeling tool, was found to contain a Cross-Site Scripting (XSS) vulnerability prior to version 1.16.0. The vulnerability was discovered on February 14, 2025, affecting the /projects/upload-example endpoint. The vulnerability allows injection of arbitrary HTML through a GET request with an appropriately crafted label_config query parameter (GitHub Advisory).

Technical details

The vulnerability exists in the upload-example endpoint which renders user-provided HTML content without proper sanitization on a GET request. By crafting a specially formatted XML label config with inline task data containing malicious HTML/JavaScript, an attacker can achieve Cross-Site Scripting. 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 has been assigned a CVSS v3.1 base score of 6.1 MEDIUM (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) (NVD).

Impact

The vulnerability enables attackers to execute JavaScript in victims' contexts by getting them to visit a maliciously crafted URL. This could potentially lead to theft of sensitive data, session hijacking, or other malicious actions. The attack requires user interaction but no special privileges for exploitation (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Label Studio version 1.16.0. The fix includes deprecating the GET behavior at the example-config endpoint. Organizations using affected versions should upgrade to version 1.16.0 or later. As a mitigation, it is recommended to enable the Content Security Policy in enforcement mode instead of report-only mode to actively block unauthorized script execution (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-5882-5rx9-xgxpCRITICAL10
  • PythonPython
  • crawl4ai
NoYesJan 16, 2026
GHSA-vx9w-5cx4-9796HIGH8.6
  • PythonPython
  • crawl4ai
NoYesJan 16, 2026
CVE-2026-23535HIGH8
  • PythonPython
  • wlc
NoYesJan 16, 2026
CVE-2026-23490HIGH7.5
  • PythonPython
  • pyasn1
NoYesJan 16, 2026
CVE-2026-23528MEDIUM5.3
  • PythonPython
  • distributed
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management