JupyterLab vulnerable to SXSS in Markdown Preview
GHSA-4m77-cmpx-vjc4 · BIT-jupyter-base-notebook-2024-22420 · BIT-jupyter-notebook-2024-22420 · BIT-jupyterlab-2024-22420 · CVE-2024-22420 · PYSEC-2026-1707 · PYSEC-2026-2535
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
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.
References
- WEB https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4m77-cmpx-vjc4
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2024-22420
- WEB https://github.com/jupyterlab/jupyterlab/commit/dda0033cd49449572d077bbecd33b18d8d05f48a
- WEB https://github.com/jupyterlab/jupyterlab/commit/e1b3aabab603878e46add445a3114e838411d2df
- PACKAGE https://github.com/jupyterlab/jupyterlab
- WEB https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQJKNRDRFMKGVRIYNNN6CKMNJDNYWO2H
Ready to move
Start Securing
Free, no credit card | First findings in minutes