CVEfocus › CVE database › CVE-2024-22420

CVE-2024-22420Stored cross site scripting in Markdown Preview in JupyterLab

CVSS 6.5 MediumEPSS 0.8% (higher than 52% of CVEs)Published 2024-01-19Updated 2025-05-30Assigner: GitHub_M

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.

CWE-79

What to do

Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
1Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04jupyter-notebookNot affected
vulnerable_code_not_present
Ubuntu 18.04jupyter-notebookFix pending
Debian 14jupyterlabFixed4.0.11+ds1-1DEBIAN-CVE-2024-22420
Debian 13jupyterlabFixed4.0.11+ds1-1DEBIAN-CVE-2024-22420
PyPI libraryjupyterlabFixed4.0.11GHSA-4m77-cmpx-vjc4
PyPI librarynotebookFixed7.0.7GHSA-4m77-cmpx-vjc4

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.