All reports
Medium

JupyterLab vulnerable to SXSS in Markdown Preview

Affected versions

Version ranges need review.

Affected versions
>=4.0.0 <4.0.11
Fixed version
4.0.11
Affected versions
>= 4.0.0, <= 4.0.10
Fixed version
4.0.11
Affected versions
>= 7.0.0, <= 7.0.6
Fixed version
7.0.7
Affected versions
>=7.0.0 <7.0.7
Fixed version
7.0.7

Exploitation

CVE-2024-22420

Probability of exploitation in the next 30 days: 0.57%

FIRST EPSS · 2026-11-22

Description

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:

jupyter labextension disable @jupyterlab/toc-extension:registry
References

Vulnerability reported via the bug bounty program sponsored by the European Commission and hosted on the Intigriti platform.

Links