Skip to main content
← All vulnerabilities
CVE-2026-102831GHSA-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
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.5.11, 4.6.4, 7.6.3, 0.8.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • jupyterlab jupyterlab

    From 4.5.0 · fixed in 4.5.11; From 4.6.0 · fixed in 4.6.4

  • jupyterlab notebook

    From 7.5.0 · fixed in 7.6.3

  • jupyterlab jupyterlite-core

    From 0.7.0 · fixed in 0.8.4

  • jupyterlabPyPI

    From 4.6.0 · fixed in 4.6.4

  • jupyterlabPyPI

    From 4.5.0 · fixed in 4.5.11

  • notebookPyPI

    From 7.5.0 · fixed in 7.6.3

  • jupyterlitePyPI

    From 0.7.0 · fixed in 0.8.4

  • jupyterlite-corePyPI

    From 0.7.0 · fixed in 0.8.4

  • jupyterlabPyPI

    From 4.5.0 · fixed in 4.5.11; From 4.6.0 · fixed in 4.6.4

  • notebookPyPI

    From 7.5.0 · fixed in 7.6.3

References 6

GitHub · jupyterlab/jupyterlab