6.5medium
Stored cross site scripting in Markdown Preview in JupyterLab
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.57% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-4m77-cmpx-vjc4BIT-JUPYTER-BASE-NOTEBOOK-2024-22420BIT-JUPYTER-NOTEBOOK-2024-22420BIT-JUPYTERLAB-2024-22420PYSEC-2026-1707PYSEC-2026-2535
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jupyterlab jupyterlab | >=4.0.0, < 4.0.11 | CVE List |
| jupyterlab (PyPI) | from 4.0.0 before 4.0.11 | GitHub Advisory Database, PyPA Advisory Database |
| notebook (PyPI) | from 7.0.0 before 7.0.7 | GitHub Advisory Database, PyPA Advisory Database |
| jupyter jupyterlab | from 4.0.0 before 4.0.11 | NVD |
| jupyter notebook | from 7.0.0 before 7.0.7 | NVD |
| fedoraproject fedora | 39 | NVD |
| jupyter-base-notebook (Bitnami) | from 7.0.0 | Bitnami Vulnerability Database |
| jupyter-notebook (Bitnami) | from 7.0.0 before 7.0.7 | Bitnami Vulnerability Database |
| jupyterlab (Bitnami) | from 4.0.0 before 4.2.4 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| PyPA Advisory Database | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
JupyterLab es un entorno extensible para informática interactiva y reproducible, basado en Jupyter Notebook y Architecture. Esta vulnerabilidad depende de la interacción del usuario al abrir un archivo Markdown malicioso utilizando la función de vista previa de JupyterLab. Un usuario malintencionado puede acceder a cualquier dato a los que tenga acceso el usuario atacado, así como realizar solicitudes arbitrarias actuando como el usuario atacado. Se ha parcheado la versión 4.0.11 de JupyterLab. Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar deben desactivar la extensión de la tabla de contenido.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-22420 changed 2025-05-30 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4m77-cmpx-vjc4 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-22420 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1707 changed 2026-07-13 | CC-BY-4.0 |
| PyPA Advisory Database | PYSEC-2026-2535 changed 2026-07-13 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-JUPYTER-BASE-NOTEBOOK-2024-22420 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-JUPYTER-NOTEBOOK-2024-22420 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-JUPYTERLAB-2024-22420 changed 2026-09-08 | Apache-2.0 |