VDB
Sign up
MEDIUM6.1

PYSEC-2025-124

Quick fix

PYSEC-2025-124 — label-studio: upgrade to the fixed version with the command below.

pip install --upgrade 'label-studio>=1.18.0'

Details

Label Studio is a multi-type data labeling and annotation tool. A vulnerability in versions prior to 1.18.0 allows an attacker to inject a malicious script into the context of a web page, which can lead to data theft, session hijacking, unauthorized actions on behalf of the user, and other attacks. The vulnerability is reproducible when sending a properly formatted request to the `POST /projects/upload-example/` endpoint. In the source code, the vulnerability is located at `label_studio/projects/views.py`. Version 1.18.0 contains a patch for the issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/label-studio
Introduced in: 0Fixed in: 1.18.0
Fixpip install --upgrade 'label-studio>=1.18.0'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/label-studio"]}'