Vulnerability · Published Jan 19, 2024 · Assigned by GitHub_M
CVE-2024-22420Stored cross site scripting in Markdown Preview in JupyterLab
Medium 6.5
In plain English
A medium-severity cross-site scripting in jupyterlab from jupyterlab. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | jupyterlab | 4.0.11+ds1-1 | DEBIAN-CVE-2024-22420 |
| Debian:14 | jupyterlab | 4.0.11+ds1-1 | DEBIAN-CVE-2024-22420 |
| PyPI | jupyterlab | 4.0.11 | GHSA-4m77-cmpx-vjc4 |
| PyPI | jupyterlab | 4.0.11 | PYSEC-2026-2535 |
| PyPI | notebook | 7.0.7 | GHSA-4m77-cmpx-vjc4 |
| PyPI | notebook | 7.0.7 | PYSEC-2026-1707 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| jupyterlab | jupyterlab | >=4.0.0, < 4.0.11 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
References
- https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4m77-cmpx-vjc4 x_refsource_CONFIRM
- https://github.com/jupyterlab/jupyterlab/commit/e1b3aabab603878e46add445a3114e838411d2df x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQJKNRDRFMKGVRIYNNN6CKMNJDNYWO2H/