AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

JupyterGHSA-4m77-cmpx-vjc4

JupyterLab vulnerable to SXSS in Markdown Preview

Jupyter

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

Medium6.5
Fix: upgrade to 4.0.11 or later (2 fixed versions below)
GitHub advisory

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/).

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

More Jupyter advisories

All Jupyter