JupyterLab: Cross-site scripting (XSS) in JupyterLab via notebook cells pasted from the system clipboard
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.5.11, 4.6.4, 7.6.3, 0.8.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- jupyterlab jupyterlab
From 4.5.0 · fixed in 4.5.11; From 4.6.0 · fixed in 4.6.4
- jupyterlab notebook
From 7.5.0 · fixed in 7.6.3
- jupyterlab jupyterlite-core
From 0.7.0 · fixed in 0.8.4
- jupyterlabPyPI
From 4.6.0 · fixed in 4.6.4
- jupyterlabPyPI
From 4.5.0 · fixed in 4.5.11
- notebookPyPI
From 7.5.0 · fixed in 7.6.3
- jupyterlitePyPI
From 0.7.0 · fixed in 0.8.4
- jupyterlite-corePyPI
From 0.7.0 · fixed in 0.8.4
- jupyterlabPyPI
From 4.5.0 · fixed in 4.5.11; From 4.6.0 · fixed in 4.6.4
- notebookPyPI
From 7.5.0 · fixed in 7.6.3