Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-22420 BIT-jupyter-base-notebook-2024-22420BIT-jupyter-notebook-2024-22420BIT-jupyterlab-2024-22420EUVD-2024-0248GHSA-4m77-cmpx-vjc4PYSEC-2026-1707PYSEC-2026-2535

Stored cross site scripting in Markdown Preview in JupyterLab

Published Jan 19, 2024 · Updated May 30, 2025 · Assigned by GitHub_M

Description

JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook and Architecture. This vulnerability depends on user interaction by opening a malicious Markdown file using JupyterLab preview feature. A malicious user can access any data that the attacked user has access to as well as perform arbitrary requests acting as the attacked user. JupyterLab version 4.0.11 has been patched. Users are advised to upgrade. Users unable to upgrade should disable the table of contents extension.

Affected products

VendorProductAffectedFixed
jupyterlab jupyterlab >=4.0.0, < 4.0.11 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jupyterlab 4.0.11+ds1-1 —
Debian 13 jupyterlab 4.0.11+ds1-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI jupyterlab >= 4.0.0, < 4.0.11 4.0.11 GHSA-4m77-cmpx-vjc4
PyPI notebook >= 7.0.0, < 7.0.7 7.0.7 GHSA-4m77-cmpx-vjc4

References