Shellfeed logo Shellfeed

CVE-2026-102831 · HIGH (CVSS 8.1)

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

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 14.7).

Details

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.

Severity

HIGH (CVSS 8.1) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Affected packages

  • PyPI jupyterlab [4.6.0 – 4.6.4]
  • PyPI jupyterlab [4.5.0 – 4.5.11]
  • PyPI notebook [7.5.0 – 7.6.3]
  • PyPI jupyterlite [0.7.0 – 0.8.4]
  • PyPI jupyterlite-core [0.7.0 – 0.8.4]
  • GIT github.com/jupyterlab/jupyterlab [791aecc59e9266990060de7b8616bccbae16912f – ce3f734bb24d7d46d1861f5130793a872ab97522] [604d873f61b50ef6c3fadc048e05291cb09a7890 – 384bff3af6598b3a6348df58fe34450914b49c41] [b0f4e94ede342386031cf3c610ed0ca93fd05261 – 08163b467e7fd9279e1b35885da5a0628772c32c]

References