JupyterLab: Cross-site scripting (XSS) in JupyterLab via notebook cells pasted from the system clipboard
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Security bypass, Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 2 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-345 and CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| jupyterlab | jupyterlab | 4.5.0 to before 4.5.11; 4.6.0 to before 4.6.4 | 4.5.11, 4.6.4 | Patch available | CNA |
| jupyterlab | notebook | 7.5.0 to before 7.6.3 | 7.6.3 | Patch available | CNA |
| jupyterlab | jupyterlite-core | 0.7.0 to before 0.8.4 | 0.8.4 | Patch available | CNA |
| — | jupyterlab (PyPI) | 4.6.0 to before 4.6.4 | 4.6.4 | Patch available | GHSA-6966-vjj6-99xv |
| — | jupyterlab (PyPI) | 4.5.0 to before 4.5.11 | 4.5.11 | Patch available | GHSA-6966-vjj6-99xv |
| — | notebook (PyPI) | 7.5.0 to before 7.6.3 | 7.6.3 | Patch available | GHSA-6966-vjj6-99xv |
| — | jupyterlite (PyPI) | 0.7.0 to before 0.8.4 | 0.8.4 | Patch available | GHSA-6966-vjj6-99xv |
| — | jupyterlite-core (PyPI) | 0.7.0 to before 0.8.4 | 0.8.4 | Patch available | GHSA-6966-vjj6-99xv |
- jupyterlab Vendorjupyterlab Affected 4.5.0 to before 4.5.11; 4.6.0 to before 4.6.4 Fixed in 4.5.11, 4.6.4 Patch available CNA
- notebook Vendorjupyterlab Affected 7.5.0 to before 7.6.3 Fixed in 7.6.3 Patch available CNA
- jupyterlite-core Vendorjupyterlab Affected 0.7.0 to before 0.8.4 Fixed in 0.8.4 Patch available CNA
- jupyterlab (PyPI) Vendor— Affected 4.6.0 to before 4.6.4 Fixed in 4.6.4 Patch available GHSA-6966-vjj6-99xv
- jupyterlab (PyPI) Vendor— Affected 4.5.0 to before 4.5.11 Fixed in 4.5.11 Patch available GHSA-6966-vjj6-99xv
- notebook (PyPI) Vendor— Affected 7.5.0 to before 7.6.3 Fixed in 7.6.3 Patch available GHSA-6966-vjj6-99xv
- jupyterlite (PyPI) Vendor— Affected 0.7.0 to before 0.8.4 Fixed in 0.8.4 Patch available GHSA-6966-vjj6-99xv
- jupyterlite-core (PyPI) Vendor— Affected 0.7.0 to before 0.8.4 Fixed in 0.8.4 Patch available GHSA-6966-vjj6-99xv
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:* | — | — | jupyterlab |
- cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:* Versions — — ·jupyterlab
Remediation
- Fix · CNA jupyterlab (jupyterlab) Fixed in 4.5.11, 4.6.4
- Fix · CNA notebook (jupyterlab) Fixed in 7.6.3
- Fix · CNA jupyterlite-core (jupyterlab) Fixed in 0.8.4
- Fix · GHSA-6966-vjj6-99xv jupyterlab (PyPI) Fixed in 4.6.4 Advisory →
- Fix · GHSA-6966-vjj6-99xv jupyterlab (PyPI) Fixed in 4.5.11 Advisory →
- Fix · GHSA-6966-vjj6-99xv notebook (PyPI) Fixed in 7.6.3 Advisory →
- Fix · GHSA-6966-vjj6-99xv jupyterlite (PyPI) Fixed in 0.8.4 Advisory →
- Fix · GHSA-6966-vjj6-99xv jupyterlite-core (PyPI) Fixed in 0.8.4 Advisory →
Red Hat 2 advisories
- RHSA-2026:87410 Released 2026-10-21 · Red Hat rating CriticalRHOAI 2.25.12 - Red Hat OpenShift AI
- Red Hat OpenShift AI 2.25 registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-caikit-nlp-rhel9, registry.redhat.io/rhoai/odh-codeflare-operator-rhel9 +47
- RHSA-2026:84734 Released 2026-10-19 · Red Hat rating CriticalRHOAI 3.4.5 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.4 registry.redhat.io/rhoai/odh-ai-gateway-payload-processing-rhel9, registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-autorag-rhel9 +47
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet |
| Red Hat OpenShift AI 2.25 | Fixed | RHSA-2026:87410 |
| Red Hat OpenShift AI 3.4 | Fixed | RHSA-2026:84734 |
Not affected: 4 products
- Migration Toolkit for Applications 8
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift AI 2.25
- Red Hat OpenShift AI 3.4
Timeline
- 2026-10-02 Threatist record created from CVE-2026-102831
- 2026-10-03 Alias added: GHSA-6966-vjj6-99xv
- 2026-10-16 Affected versions changed · Red Hat
- 2026-10-18 Affected versions changed · Red Hat
- 2026-10-20 Fix available: RHSA-2026:84734 · Red Hat
- 2026-10-20 Fix available: Red Hat OpenShift AI 3.4 · Red Hat
- 2026-10-22 Fix available: RHSA-2026:87410 · Red Hat
- 2026-10-23 Fix available: Red Hat OpenShift AI 2.25 · Red Hat
References
Other 7
- 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://github.com/jupyterlab/jupyterlab
More jupyterlab vulnerabilities
- TI-2026-32161 Jupyter Enterprise Gateway Has Kubernetes Manifest Injection via Jinja2 Template Rendering CVSS 4.0CRITICAL 10.0
- TI-2026-32160 Jupyter Enterprise Gateway: Jinja2 Template Server Side Template Injection results in Remote Code Execution CVSS 4.0CRITICAL 10.0
- TI-2026-32159 Jupyter Enterprise Gateway: ContainerProcessProxy._enforce_prohibited_ids can be Bypassed CVSS 3.1CRITICAL 9.8
- TI-2024-26623 Remote Code Execution (RCE) vulnerability in jupyterlab extension template `update-integration-tests` GitHub Action CVSS 3.1CRITICAL 10.0
- TI-2026-78983 Path traversal in nbconvert lets crafted notebooks write files CVSS 4.0HIGH 8.8
- TI-2026-39372 JupyterLab Git: Stored XSS leading to RCE CVSS 4.0CRITICAL 9.3
Sources
- CVE-2026-102831 · CVE Program
- CVE-2026-102831 · NVD
- FIRST EPSS
- GHSA-6966-vjj6-99xv · GitHub Advisory Database · CC BY 4.0
- CVE-2026-102831 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences