CVE-2026-102831
JupyterLab: Cross-site scripting (XSS) in JupyterLab via notebook cells pasted from the system clipboard
Also known as GHSA-6966-vjj6-99xv, PYSEC-2026-4057, PYSEC-2026-4058, PYSEC-2026-4060, PYSEC-2026-4112
Mitigation
- Upgrade jupyterlab to one of 4.6.4, 4.5.11 (or later in the same release line).
- Upgrade notebook to 7.6.3 or later.
- Upgrade jupyterlite to 0.8.4 or later.
- Upgrade jupyterlite-core to 0.8.4 or later.
Who should check
- Projects that depend on PyPI package jupyterlab (>= 4.6.0, < 4.6.4)
- Projects that depend on PyPI package notebook (>= 7.5.0, < 7.6.3)
- Projects that depend on PyPI package jupyterlite (>= 0.7.0, < 0.8.4)
- Projects that depend on PyPI package jupyterlite-core (>= 0.7.0, < 0.8.4)
- Anyone running jupyterlab >= 4.5.0, < 4.5.11; >= 4.6.0, < 4.6.4
- Anyone running jupyterlab notebook >= 7.5.0, < 7.6.3
- Anyone running jupyterlab jupyterlite-core >= 0.7.0, < 0.8.4
Vulnerability facts
- Affected
- jupyterlab >= 4.6.0, < 4.6.4; notebook >= 7.5.0, < 7.6.3; jupyterlite >= 0.7.0, < 0.8.4; jupyterlite-core >= 0.7.0, < 0.8.4
- Fixed in
- 4.6.4, 4.5.11, 7.6.3, 0.8.4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- CWE
- CWE-79, CWE-345
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI jupyterlab | >= 4.6.0, < 4.6.4 | 4.6.4, 4.5.11 | osv |
| PyPI notebook | >= 7.5.0, < 7.6.3 | 7.6.3 | osv |
| PyPI jupyterlite | >= 0.7.0, < 0.8.4 | 0.8.4 | osv |
| PyPI jupyterlite-core | >= 0.7.0, < 0.8.4 | 0.8.4 | osv |
| jupyterlab | >= 4.5.0, < 4.5.11; >= 4.6.0, < 4.6.4 | — | cvelist |
| jupyterlab notebook | >= 7.5.0, < 7.6.3 | — | cvelist |
| jupyterlab jupyterlite-core | >= 0.7.0, < 0.8.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-102831. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-102831.md Affected: jupyterlab >= 4.6.0, < 4.6.4; notebook >= 7.5.0, < 7.6.3; jupyterlite >= 0.7.0, < 0.8.4; jupyterlite-core >= 0.7.0, < 0.8.4 Fixed in: 4.6.4, 4.5.11, 7.6.3, 0.8.4 Steps: 1. Search this machine and project for jupyterlab (PyPI), notebook (PyPI), jupyterlite (PyPI), jupyterlite-core (PyPI), jupyterlab, jupyterlab notebook: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://github.com/jupyterlab/jupyterlab/releases/tag/v4.5.11
- https://github.com/jupyterlab/jupyterlab/releases/tag/v4.6.4
- https://github.com/jupyterlab/jupyterlab
- https://pypi.org/project/jupyterlab
- https://pypi.org/project/jupyterlite
- https://pypi.org/project/jupyterlite-core
- https://pypi.org/project/notebook
FAQ
Is CVE-2026-102831 being exploited?
There is no confirmed exploitation: CVE-2026-102831 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-102831?
High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-102831?
jupyterlab >= 4.6.0, < 4.6.4; notebook >= 7.5.0, < 7.6.3; jupyterlite >= 0.7.0, < 0.8.4; jupyterlite-core >= 0.7.0, < 0.8.4.
Is there a fix for CVE-2026-102831?
Yes. Fixed in 4.6.4, 4.5.11, 7.6.3, 0.8.4. Upgrade jupyterlab to one of 4.6.4, 4.5.11 (or later in the same release line). Upgrade notebook to 7.6.3 or later. Upgrade jupyterlite to 0.8.4 or later. Upgrade jupyterlite-core to 0.8.4 or later.
How do I check if I'm affected by CVE-2026-102831?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.