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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Published: 2024-01-19T20:24:09.000Z
- Modified: 2026-09-10T03:50:04.771Z
- Also known as: GHSA-4m77-cmpx-vjc4, BIT-JUPYTER-BASE-NOTEBOOK-2024-22420, BIT-JUPYTER-NOTEBOOK-2024-22420, BIT-JUPYTERLAB-2024-22420, PYSEC-2026-1707, PYSEC-2026-2535
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- jupyterlab jupyterlab: >=4.0.0, < 4.0.11
- jupyterlab (PyPI): from 4.0.0 before 4.0.11
- notebook (PyPI): from 7.0.0 before 7.0.7
- jupyter jupyterlab: from 4.0.0 before 4.0.11
- jupyter notebook: from 7.0.0 before 7.0.7
- fedoraproject fedora: 39
- jupyter-base-notebook (Bitnami): from 7.0.0
- jupyter-notebook (Bitnami): from 7.0.0 before 7.0.7
- jupyterlab (Bitnami): from 4.0.0 before 4.2.4

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4m77-cmpx-vjc4> (advisory, vendor-advisory, web)
- <https://github.com/jupyterlab/jupyterlab/commit/e1b3aabab603878e46add445a3114e838411d2df> (fix, patch, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQJKNRDRFMKGVRIYNNN6CKMNJDNYWO2H/> (advisory, mailing-list, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-22420> (advisory, web)
- <https://github.com/jupyterlab/jupyterlab/commit/dda0033cd49449572d077bbecd33b18d8d05f48a> (web)
- <https://github.com/jupyterlab/jupyterlab> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQJKNRDRFMKGVRIYNNN6CKMNJDNYWO2H> (web)
- <https://pypi.org/project/notebook> (package)
- <https://github.com/advisories/GHSA-4m77-cmpx-vjc4> (advisory)
- <https://pypi.org/project/jupyterlab> (package)

## Sources

- CVE List: [CVE-2024-22420](https://www.cve.org/CVERecord?id=CVE-2024-22420), CVE Terms of Use, modified 2025-05-30
- GitHub Advisory Database: [GHSA-4m77-cmpx-vjc4](https://github.com/advisories/GHSA-4m77-cmpx-vjc4), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-22420](https://nvd.nist.gov/vuln/detail/CVE-2024-22420), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1707](https://osv.dev/vulnerability/PYSEC-2026-1707), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-2535](https://osv.dev/vulnerability/PYSEC-2026-2535), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-JUPYTER-BASE-NOTEBOOK-2024-22420](https://osv.dev/vulnerability/BIT-JUPYTER-BASE-NOTEBOOK-2024-22420), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-JUPYTER-NOTEBOOK-2024-22420](https://osv.dev/vulnerability/BIT-JUPYTER-NOTEBOOK-2024-22420), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-JUPYTERLAB-2024-22420](https://osv.dev/vulnerability/BIT-JUPYTERLAB-2024-22420), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-22420 · Whole record: https://cve.day/CVE-2024-22420.json · Rebuilt by cve.day 2026-11-25T22:58:36.241Z
