# CVE-2026-102831: JupyterLab: Cross-site scripting (XSS) in JupyterLab via notebook cells pasted from the system clipboard

- Priority: **Routine**
- Reason: Not severe (CVSS 8.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-29 · Modified: 2026-10-02
- Aliases: GHSA-6966-vjj6-99xv, PYSEC-2026-4057, PYSEC-2026-4058, PYSEC-2026-4060, PYSEC-2026-4112, UBUNTU-CVE-2026-102831, DEBIAN-CVE-2026-102831, CGA-4w59-m83f-8f7p, CGA-xrqw-492q-6876
- Record: https://cvemate.com/vulnerability/CVE-2026-102831 · JSON: https://cvemate.com/vulnerability/CVE-2026-102831/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- EPSS: 0.236%, percentile 15.599%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard jupyterhub-k8s-singleuser-sample (Chainguard): \< 4.4.2-r7
- debian jupyter-notebook (Debian): All versions (No fix recorded)
- ubuntu jupyter-notebook (Ubuntu): All versions (No fix recorded)
- ubuntu jupyterlab (Ubuntu): All versions (No fix recorded)
- jupyterlab jupyterlab: ≥ 4.5.0, \< 4.5.11 \| ≥ 4.6.0, \< 4.6.4
- jupyterlab jupyterlite-core: ≥ 0.7.0, \< 0.8.4
- jupyterlab notebook: ≥ 7.5.0, \< 7.6.3
- PyPI jupyterlab (PyPI): ≥ 4.5.0, \< 4.5.11 \| ≥ 4.6.0, \< 4.6.4
- PyPI jupyterlite (PyPI): ≥ 0.7.0, \< 0.8.4
- PyPI jupyterlite-core (PyPI): ≥ 0.7.0, \< 0.8.4
- PyPI notebook (PyPI): ≥ 7.5.0, \< 7.6.3

## References

- <https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-6966-vjj6-99xv>
- <https://github.com/jupyterlab/jupyterlab/commit/1a10a7da5ff655849b21581c2633b46483ae0be9>
- <https://github.com/jupyterlab/jupyterlab/commit/7f9f29e29e0c83fb17b0f11da57d06b3c6a40d96>
- <https://github.com/jupyterlab/jupyterlab/commit/cf6e89a8d315c4134cefa50c220bca296da466a7>
- <https://github.com/jupyterlab/jupyterlab/releases/tag/v4.5.11>
- <https://github.com/jupyterlab/jupyterlab/releases/tag/v4.6.4>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102831>
- <https://github.com/jupyterlab/jupyterlab>
- <https://pypi.org/project/jupyterlab>
- <https://github.com/advisories/GHSA-6966-vjj6-99xv>
- <https://pypi.org/project/jupyterlite>
- <https://pypi.org/project/jupyterlite-core>
- <https://pypi.org/project/notebook>
- <https://ubuntu.com/security/CVE-2026-102831>
- <https://www.cve.org/CVERecord?id=CVE-2026-102831>
- <https://security-tracker.debian.org/tracker/CVE-2026-102831>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102831.json>

---

Data as of 2026-12-05T09:35:19.177Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
