Cross-site Scripting (XSS) Affecting label-studio package, versions <1.23.0-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.28% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-LABELSTUDIO-15144107
  • published29 Jan 2026
  • disclosed12 Jan 2026

Introduced: 12 Jan 2026

CVE-2026-22033  (opens in a new tab)
CWE-79  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade Chainguard label-studio to version 1.23.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream label-studio package and not the label-studio package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Label Studio is a multi-type data labeling and annotation tool. In 1.22.0 and earlier, a persistent stored cross-site scripting (XSS) vulnerability exists in the custom_hotkeys functionality of the application. An authenticated attacker (or one who can trick a user/administrator into updating their custom_hotkeys) can inject JavaScript code that executes in other users’ browsers when those users load any page using the templates/base.html template. Because the application exposes an API token endpoint (/api/current-user/token) to the browser and lacks robust CSRF protection on some API endpoints, the injected script may fetch the victim’s API token or call token reset endpoints — enabling full account takeover and unauthorized API access.

CVSS Base Scores

version 3.1