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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-01-19 · Modified: 2025-05-30
- Aliases: 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, DEBIAN-CVE-2024-22420
- Record: https://cvemate.com/vulnerability/CVE-2024-22420 · JSON: https://cvemate.com/vulnerability/CVE-2024-22420/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- EPSS: 0.573%, percentile 48.781%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian jupyterlab (Debian): \< 4.0.11+ds1-1
- fedoraproject fedora: 39
- jupyter jupyterlab: ≥ 4.0.0, \< 4.0.11
- jupyter notebook: ≥ 7.0.0, \< 7.0.7
- jupyterlab jupyterlab: ≥ 4.0.0, \< 4.0.11
- PyPI jupyterlab (PyPI): ≥ 4.0.0, \< 4.0.11
- PyPI notebook (PyPI): ≥ 7.0.0, \< 7.0.7

## References

- <https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4m77-cmpx-vjc4>
- <https://github.com/jupyterlab/jupyterlab/commit/e1b3aabab603878e46add445a3114e838411d2df>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQJKNRDRFMKGVRIYNNN6CKMNJDNYWO2H/>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-22420>
- <https://github.com/jupyterlab/jupyterlab/commit/dda0033cd49449572d077bbecd33b18d8d05f48a>
- <https://github.com/jupyterlab/jupyterlab>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQJKNRDRFMKGVRIYNNN6CKMNJDNYWO2H>
- <https://pypi.org/project/notebook>
- <https://github.com/advisories/GHSA-4m77-cmpx-vjc4>
- <https://pypi.org/project/jupyterlab>
- <https://security-tracker.debian.org/tracker/CVE-2024-22420>

---

Data as of 2026-12-05T09:43:56.494Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
