Skip to content
OpenAdvisories
High · 8.1 CVE-2026-102831 EUVD-2026-89338GHSA-6966-vjj6-99xvPYSEC-2026-4057PYSEC-2026-4058PYSEC-2026-4060PYSEC-2026-4112

JupyterLab: Cross-site scripting (XSS) in JupyterLab via notebook cells pasted from the system clipboard

Published Sep 29, 2026 · Updated Oct 2, 2026 · Assigned by GitHub_M

Description

JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. From JupyterLab 4.5.0 until 4.5.11 and 4.6.4, from Notebook 7.5.0 until 7.6.3, and from JupyterLite Core 0.7.0 until 0.8.4, the system clipboard cell-paste path accepts attacker-controlled cell JSON without clearing metadata.trusted. When useSystemClipboardForCells is active and pasteCodeCellsWithoutOutput is disabled, a pasted code cell can mark HTML output as trusted, bypass output sanitization, and execute script in the authenticated JupyterLab origin without executing the cell. Markdown and raw cells are not affected because their output is sanitized. This issue is fixed in JupyterLab 4.5.11 and 4.6.4, Notebook 7.6.3, and JupyterLite Core 0.8.4.

Affected products

VendorProductAffectedFixed
jupyterlab jupyterlab >= 4.5.0, < 4.5.11, >= 4.6.0, < 4.6.4 —
jupyterlab notebook >= 7.5.0, < 7.6.3 —
jupyterlab jupyterlite-core >= 0.7.0, < 0.8.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jupyter-notebook No fix yet —
Debian 13 jupyter-notebook No fix yet —
Debian 12 jupyter-notebook No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 jupyterlab +1 No fix yet —
Ubuntu 26.04 LTS jupyterlab +1 No fix yet —
Ubuntu 20.04 LTS jupyter-notebook No fix yet —
Ubuntu 18.04 LTS jupyter-notebook No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS jupyter-notebook No fix yet —
Ubuntu Pro 22.04 LTS jupyter-notebook No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-jupyterlab 4.5.11-1.1 openSUSE-SU-2026:11945-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI jupyterlab >= 4.6.0, < 4.6.4 4.6.4 GHSA-6966-vjj6-99xv
PyPI jupyterlab >= 4.5.0, < 4.5.11 4.5.11 GHSA-6966-vjj6-99xv
PyPI jupyterlab >= 4.5.0, < 4.5.11 · >= 4.6.0, < 4.6.4 4.5.11, 4.6.4 PYSEC-2026-4057
PyPI jupyterlite >= 0.7.0, < 0.8.4 0.8.4 GHSA-6966-vjj6-99xv
PyPI jupyterlite-core >= 0.7.0, < 0.8.4 0.8.4 GHSA-6966-vjj6-99xv
PyPI notebook >= 7.5.0, < 7.6.3 7.6.3 GHSA-6966-vjj6-99xv

Advisories 1

References