CVEfocus › CVE database › CVE-2026-102831

CVE-2026-102831JupyterLab: Cross-site scripting (XSS) in JupyterLab via notebook cells pasted from the…

CVSS 8.1 HighEPSS 0.3% (higher than 11% of CVEs)Published 2026-09-29Updated 2026-10-02Assigner: GitHub_M

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.

CWE-345CWE-79

What to do

Fixed builds are available from PyPI: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
10Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10jupyter-notebookFix pendingUBUNTU-CVE-2026-102831
Ubuntu 26.10jupyterlabFix pendingUBUNTU-CVE-2026-102831
Ubuntu 26.04jupyter-notebookFix pendingUBUNTU-CVE-2026-102831
Ubuntu 26.04jupyterlabUnder investigationUBUNTU-CVE-2026-102831
Ubuntu 24.04jupyter-notebookFix pendingUBUNTU-CVE-2026-102831
Ubuntu 22.04jupyter-notebookFix pendingUBUNTU-CVE-2026-102831
Ubuntu 20.04jupyter-notebookFix pendingUBUNTU-CVE-2026-102831
Ubuntu 18.04jupyter-notebookFix pendingUBUNTU-CVE-2026-102831
Debian 14jupyter-notebookFix pendingDEBIAN-CVE-2026-102831
Debian 13jupyter-notebookFix pendingDEBIAN-CVE-2026-102831
Debian 12jupyter-notebookFix pendingDEBIAN-CVE-2026-102831
PyPI libraryjupyterlabFixed4.5.11GHSA-6966-vjj6-99xv
PyPI libraryjupyterliteFixed0.8.4PYSEC-2026-4058
PyPI libraryjupyterlite-coreFixed0.8.4PYSEC-2026-4060
PyPI librarynotebookFixed7.6.3PYSEC-2026-4112

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.