PyPI: jupyterlab

CVE-2024-43805

Safety vulnerability ID: SFTY-20240828-23568

Safety legacy ID: pyup.io-72962

JupyterLab is vulnerable to HTML injection, leading to DOM Clobbering, which allows attackers to access sensitive data and perform arbitrary actions as the compromised user. This vulnerability occurs when a user opens a malicious notebook with Markdown cells or a Markdown file in JupyterLab.

Created at: May 22, 2026Updated at: May 22, 2026

Overview

HTML injection in Jupyter Notebook and JupyterLab leading to DOM Clobbering

Advisory

JupyterLab is vulnerable to HTML injection, leading to DOM Clobbering, which allows attackers to access sensitive data and perform arbitrary actions as the compromised user. This vulnerability occurs when a user opens a malicious notebook with Markdown cells or a Markdown file in JupyterLab.

Affected Package

Affecting jupyterlab package, versions
<=3.6.7
>=4.0.0a0,<=4.2.4

Also affects

---

How to Fix

Upgrade
jupyterlab
to
3.6.8
4.2.5
or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more