CVE-2026-102831Jupyterlab cross-site scripting (XSS)
CVSS score
8.1
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.24%
0.24% chance of exploitation in the next 30 days, higher than 14.7% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running Jupyterlab, jupyterlab Notebook, jupyterlab Jupyterlite-core and compare its version with the affected versions.
Update to a fixed version
- Update Jupyterlab to 4.5.11, 4.6.4 or later, on the branch you run.
- Update Notebook to 7.6.3 or later.
- Update Jupyterlite-core to 0.8.4 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Affected products
| Affected products | Versions |
|---|---|
| jupyterlab Jupyterlab | >= 4.5.0, < 4.5.11 · >= 4.6.0, < 4.6.4 |
| jupyterlab Notebook | >= 7.5.0, < 7.6.3 |
| jupyterlab Jupyterlite-core | >= 0.7.0, < 0.8.4 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-102831 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-102831?
CVE-2026-102831 has a CVSS 3.1 base score of 8.1 (high).
Which versions are affected?
Jupyterlab Jupyterlab (>= 4.5.0, < 4.5.11; >= 4.6.0, < 4.6.4), Jupyterlab Notebook (>= 7.5.0, < 7.6.3), Jupyterlab Jupyterlite-core (>= 0.7.0, < 0.8.4)
Is there a patch for CVE-2026-102831?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/jupyterlab/jupyterlab/commit/1a10a7da5ff655849b21581c2633b46483ae0be9
- github.com/jupyterlab/jupyterlab/commit/7f9f29e29e0c83fb17b0f11da57d06b3c6a40d96
- github.com/jupyterlab/jupyterlab/commit/cf6e89a8d315c4134cefa50c220bca296da466a7
- github.com/jupyterlab/jupyterlab/releases/tag/v4.5.11
- github.com/jupyterlab/jupyterlab/releases/tag/v4.6.4
- github.com/jupyterlab/jupyterlab/security/advisories/GHSA-6966-vjj6-99xv
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.