Skip to content
JupyterGHSA-4m77-cmpx-vjc4

JupyterLab vulnerable to SXSS in Markdown Preview

Medium6.5CVE-2024-22420 · Published Jan 19, 2024 · updated Sep 10, 2026

GitHub advisory

Affected versions

PackageAffectedFixed in
jupyterlab
PyPI
>= 4.0.0, < 4.0.114.0.11
notebook
PyPI
>= 7.0.0, < 7.0.77.0.7
Details and references

### Impact The vulnerability depends on user interaction by opening a malicious notebook with Markdown cells, or 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. ### Patches JupyterLab v4.0.11 was patched. ### Workarounds Users can either disable the table of contents extension by running: ```bash jupyter labextension disable @jupyterlab/toc-extension:registry ``` ### References Vulnerability reported via the [bug bounty program](https://app.intigriti.com/programs/jupyter/jupyter/detail) [sponsored by the European Commission](https://commission.europa.eu/news/european-commissions-open-source-programme-office-starts-bug-bounties-2022-01-19_en) and hosted on the [Intigriti platform](https://www.intigriti.com/).

CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Severity from
GitHub (reviewed advisory)
Weakness
CWE-79
Also known as
BIT-jupyter-base-notebook-2024-22420, BIT-jupyter-notebook-2024-22420, BIT-jupyterlab-2024-22420, CVE-2024-22420, PYSEC-2026-1707, PYSEC-2026-2535

More Jupyter advisories

All Jupyter
DateAdvisory
Jan 192024JupyterLab vulnerable to potential authentication and CSRF tokens leak
CVE-2024-22421High7.6fixed in 3.6.7, 4.0.11, 7.0.7
Dec 52023jupyter-server errors include tracebacks with path information
CVE-2023-49080Medium4.3fixed in 2.11.2
Mar 282024Cross site scripting (XSS) in JupyterHub via Self-XSS leveraged by Cookie Tossing
CVE-2024-28233High8.1fixed in 4.1.0
Jun 62024Jupyter server on Windows discloses Windows user password hash
CVE-2024-35178High7.5fixed in 2.14.1
Aug 292023Open Redirect Vulnerability in jupyter-server
CVE-2023-39968Medium6.1fixed in 2.7.2
Aug 292023cross-site inclusion (XSSI) of files in jupyter-server
CVE-2023-40170Medium4.6fixed in 2.7.2

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.