Cross-site scripting in Jupyter Notebook
CVE-2018-21030 · GHSA-jqwc-jm56-wcwj · published 2019-11-08 · updated 2024-10-07
- Severity
- Medium
- CVSS score
- 5.3
- Chance of exploitation (EPSS)
- 1.4%
- Fixed in
- 5.5.0rc1
Jupyter Notebook before 5.5.0 does not use a CSP header to treat served files as belonging to a separate origin. Thus, for example, an XSS payload can be placed in an SVG document.
Upgrade notebook to 5.5.0rc1 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| notebook | PyPI | < 5.5.0rc1 | 5.5.0rc1 |
- CriticalJupyter Server: Stored XSS in `NbconvertFileHandler` / `NbconvertPostHandler` via missing `sandbox` CSPjupyter-server
- CriticalMalicious website can execute commands on the local system through XSS in the OpenCode web UIopencode-ai
- CriticalFlowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panelflowise
- CriticalMLFlow Cross-site Scripting vulnerability leads to client-side Remote Code Executionmlflow
- CriticalCross-site Scripting in MLFlowmlflow
- HighPraisonAI: Prompt Injection Defense Bypassed for HIGH-Level Threatspraisonai
- CriticalImproper Input Validation in Jupyter Notebookipython, notebook
- HighJupyterLab: Cross-site scripting (XSS) in JupyterLab via notebook cells pasted from the system clipboardjupyterlab, jupyterlab, notebook
- HighJupyterLab's command linker attributes in HTML enable one-click command execution from untrusted contentjupyterlab, notebook
- HighJupyter Notebook Vulnerable to Authentication Token Theft via CommandLinker XSSjupyterlab, notebook
- HighHTML injection in Jupyter Notebook and JupyterLab leading to DOM Clobberingjupyterlab, jupyterlab, notebook
- HighJupyterLab vulnerable to potential authentication and CSRF tokens leakjupyterlab, jupyterlab, notebook
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.