NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐍
🐍 PyPI
Not in CISA KEV
MEDIUM severity

CVE-2024-22420 — jupyterlab

MEDIUMFix: jupyterlab/jupyterlab@e1b3aab

CVE-2024-22420 is a medium-severity (CVSS 6.5) Cross-site Scripting (XSS) vulnerability in jupyterlab. A fix is available for jupyterlab — see the affected versions and patch details below.

Stored cross site scripting in Markdown Preview in JupyterLab

Also known asBIT-jupyter-base-notebook-2024-22420BIT-jupyter-notebook-2024-22420BIT-jupyterlab-2024-22420GHSA-4m77-cmpx-vjc4PYSEC-2026-1707PYSEC-2026-2535
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed
Exploitation data as of Nov 5, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2024-22420.

EPSS Exploitation Probability

via FIRST.org ↗
0.6%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs47th percentile — riskier than 47% of all scored CVEsHighest risk
0.00%0.36%0.72%1.07%0.3%0.6%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

2 pkgs affected
🐍jupyterlab🐍notebook

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIjupyterlab≥ 4.0.0&&< 4.0.114.0.11pip install --upgrade 'jupyterlab==4.0.11'
🐍PyPInotebook≥ 7.0.0&&< 7.0.77.0.7pip install --upgrade 'notebook==7.0.7'

Affected Products

3 products · 3 configurations
OS
fedorafedoraproject
1 version
39
Application
jupyterlabjupyter
≥ 4.0.0 && < 4.0.11
range
Application
notebookjupyter
≥ 7.0.0 && < 7.0.7
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for jupyterlab, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update jupyterlab to 4.0.11 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-22420 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Frequently Asked Questions

### 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.intig
O3 Security · Impact-Aware SCA

Is CVE-2024-22420 in your dependencies?

Find it across PyPI, including transitive dependencies.

CVE-2024-22420: jupyterlab — Fixed in 4.0.11