HighVulnerability
CVE-2026-102831: JupyterLab cell paste lets HTML output bypass sanitization and run script
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-102831
- Published
- Record updated
- Affected
- jupyterlab >= 4.6.0, <= 4.6.3, fixed in 4.6.4
- jupyterlab >= 4.5.0, <= 4.5.10, fixed in 4.5.11
- notebook >= 7.5.0, <= 7.6.2, fixed in 7.6.3
- and 2 more
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
A flaw in JupyterLab's 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 and bypass output sanitization. The attacker's script then runs in the authenticated JupyterLab origin without the cell being executed. Markdown and raw cells are not affected.
Mitigation
Fixed in JupyterLab 4.5.11 and 4.6.4, Notebook 7.6.3, and JupyterLite Core 0.8.4.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- jupyterlabPyPINo LLM dependency detected, 17 tracked dependents
- jupyterlite-corePyPINo LLM dependency detected, 3 tracked dependents
- notebookPyPINo LLM dependency detected, 6 tracked dependents
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online