Cross-Site Scripting (XSS) in jupyterlab
Summary
Cross-site scripting in jupyterlab (CVE-2026-102831). Confidential information can be exposed externally. Exploitable via metadata.trusted. Mitigation: upgrade to 4.5.11 or later.
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-102831 has been found in jupyterlab.
Attackers can target a specific entry point like metadata.trusted over the network to misuse the product.
Confidential information can be exposed externally. CVSS score: 8.1/10.
What to do: upgrade jupyterlab to 4.5.11 or later.
If unsure, ask your IT team or search "jupyterlab CVE-2026-102831" on the vendor's site.
CVE-2026-102831 (jupyterlab) — CWE-79 / CVSS v3 8.1
Attack vector: remote (network-reachable) / unauthenticated
Attack surface: metadata.trusted / useSystemClipboardForCells / pasteCodeCellsWithoutOutput / jupyterlab
Patched: 4.5.11 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Cross-site scripting (XSS) (CWE-79) exists in jupyterlab. Attackers reach the vulnerable code path via metadata.trusted without authentication.
Check the vendor advisory for the affected versions of jupyterlab. Attack surface: metadata.trusted / useSystemClipboardForCells / pasteCodeCellsWithoutOutput / jupyterlab.
Severity: High (CVSS 8.1/10). Confidential information can be exposed externally.
Update to 4.5.11.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'jupyterlab' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'jupyterlab' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
jupyterlabを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade jupyterlab to 4.5.11ステージング環境で 4.5.11 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| pipjupyterlab |
< 4.5.11→ 4.5.11 |
4.5.11 |
| pipnotebook |
< 7.6.3→ 7.6.3 |
7.6.3 |
| pipjupyterlite |
< 0.8.4→ 0.8.4 |
0.8.4 |
| pipjupyterlite-core |
< 0.8.4→ 0.8.4 |
0.8.4 |
| PyPIjupyterlab |
≥ 4.5.0, < 4.5.11→ 4.5.11 ≥ 4.6.0, < 4.6.4→ 4.6.4 |
4.5.11 4.6.4 |
| PyPInotebook |
≥ 7.5.0, < 7.6.3→ 7.6.3 |
7.6.3 |
| PyPIjupyterlite |
≥ 0.7.0, < 0.8.4→ 0.8.4 |
0.8.4 |
| PyPIjupyterlite-core |
≥ 0.7.0, < 0.8.4→ 0.8.4 |
0.8.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-102831 jupyter-notebook No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-102831 jupyterlab, jupyter-notebook No fixed version in this record
Original description The description as published by the source.
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: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- advisory github.com
- package github.com
- package pypi.org
- package pypi.org
- package pypi.org
- package pypi.org
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com