Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| HumanSignal / label-studio | affected <= 1.22.0 |
CWE
CWE-79, CWE-284
References
- https://github.com/HumanSignal/label-studio/security/advisories/GHSA-2mq9-hm29-8qch
- https://github.com/HumanSignal/label-studio/pull/9084
- https://github.com/HumanSignal/label-studio/commit/ea2462bf042bbf370b79445d02a205fbe547b505
ADP enrichment
No English description supplied.
No references supplied.