NetSight
medium6.5

CVE-2024-22420

JupyterLab vulnerable to SXSS in Markdown Preview

Impact

### 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: ```bash jupyter labextension disable @jupyterlab/toc-extension:registry ``` ### References Vulnerability reported via the [bug bounty program](https://app.intigriti.com/programs/jupyter/jupyter/detail) [sponsored by the European Commission](https://commission.europa.eu/news/european-commissions-open-source-programme-office-starts-bug-bounties-2022-01-19_en) and hosted on the [Intigriti platform](https://www.intigriti.com/).

Affected packages

EcosystemPackageAffectedFixed in
pipjupyterlab>= 4.0.0, <= 4.0.104.0.11
pipnotebook>= 7.0.0, <= 7.0.67.0.7

Affected products

VendorProductAffected versions
JupyterJupyterlab
from 4.0.0 before 4.0.11
JupyterNotebook
from 7.0.0 before 7.0.7
FedoraprojectFedora
Version 39

Weakness classification

References