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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-09-29T18:58:03.634Z
- Modified: 2026-10-05T06:30:02.388Z
- Also known as: GHSA-6966-vjj6-99xv, PYSEC-2026-4057, PYSEC-2026-4058, PYSEC-2026-4060, PYSEC-2026-4112
- Weaknesses: CWE-79, CWE-345
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## 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
- jupyterlab (PyPI): from 4.6.0 before 4.6.4; from 4.5.0 before 4.5.11
- notebook (PyPI): from 7.5.0 before 7.6.3
- jupyterlite (PyPI): from 0.7.0 before 0.8.4
- jupyterlite-core (PyPI): from 0.7.0 before 0.8.4

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-6966-vjj6-99xv> (web)
- <https://github.com/jupyterlab/jupyterlab/commit/1a10a7da5ff655849b21581c2633b46483ae0be9> (web)
- <https://github.com/jupyterlab/jupyterlab/commit/7f9f29e29e0c83fb17b0f11da57d06b3c6a40d96> (web)
- <https://github.com/jupyterlab/jupyterlab/commit/cf6e89a8d315c4134cefa50c220bca296da466a7> (web)
- <https://github.com/jupyterlab/jupyterlab/releases/tag/v4.5.11> (web)
- <https://github.com/jupyterlab/jupyterlab/releases/tag/v4.6.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102831> (advisory)
- <https://github.com/jupyterlab/jupyterlab> (package)
- <https://pypi.org/project/jupyterlab> (package)
- <https://github.com/advisories/GHSA-6966-vjj6-99xv> (advisory)
- <https://pypi.org/project/jupyterlite> (package)
- <https://pypi.org/project/jupyterlite-core> (package)
- <https://pypi.org/project/notebook> (package)

## Sources

- CVE List: [CVE-2026-102831](https://www.cve.org/CVERecord?id=CVE-2026-102831), CVE Terms of Use, modified 2026-10-02
- GitHub Advisory Database: [GHSA-6966-vjj6-99xv](https://github.com/advisories/GHSA-6966-vjj6-99xv), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-102831](https://nvd.nist.gov/vuln/detail/CVE-2026-102831), Public domain, modified 2026-10-02
- PyPA Advisory Database: [PYSEC-2026-4057](https://osv.dev/vulnerability/PYSEC-2026-4057), CC-BY-4.0, modified 2026-10-01
- PyPA Advisory Database: [PYSEC-2026-4058](https://osv.dev/vulnerability/PYSEC-2026-4058), CC-BY-4.0, modified 2026-10-01
- PyPA Advisory Database: [PYSEC-2026-4060](https://osv.dev/vulnerability/PYSEC-2026-4060), CC-BY-4.0, modified 2026-10-01
- PyPA Advisory Database: [PYSEC-2026-4112](https://osv.dev/vulnerability/PYSEC-2026-4112), CC-BY-4.0, modified 2026-10-05

---

Page: https://cve.day/CVE-2026-102831 · Whole record: https://cve.day/CVE-2026-102831.json · Rebuilt by cve.day 2026-11-25T22:59:41.551Z
