
CVE catalog
CVE-2018-19351
jupyter-notebook: CVE-2018-19351
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.51% · Oct 25, 2026
Jupyter Notebook before 5.7.1 allows XSS via an untrusted notebook because nbconvert responses are considered to have the same origin as the notebook server. In other words, nbconvert endpoints can execute JavaScript with access to the server API. In notebook/nbconvert/handlers.py, NbconvertFileHandler and NbconvertPostHandler do not set a Content Security Policy to prevent this.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | jupyter-notebook | sid | 7.4.7-3 | fixed |
| Debian | jupyter-notebook | forky | 7.4.7-3 | fixed |
| Debian | jupyter-notebook | trixie | 6.4.13-5 | fixed |
| Debian | jupyter-notebook | bookworm | 6.4.12-2.2 | fixed |
| Ubuntu | jupyter-notebook | 18.04 | 4.2.3-4 | vulnerable |
| Ubuntu | jupyter-notebook | 18.04 | 5.1.0-2 | vulnerable |
| Ubuntu | jupyter-notebook | 18.04 | 5.2.1-2 | vulnerable |
| Ubuntu | jupyter-notebook | 18.04 | 5.2.2-1 | vulnerable |
| Ubuntu | jupyter-notebook | 18.04 | 5.2.2-1ubuntu0.1 | fixed |
| Ubuntu | jupyter-notebook | 20.04 | 5.7.8-1 | vulnerable |
| Ubuntu | jupyter-notebook | 20.04 | 6.0.0-1 | vulnerable |
| Ubuntu | jupyter-notebook | 20.04 | 6.0.0-2 | vulnerable |
| Ubuntu | jupyter-notebook | 20.04 | 6.0.2-1 | vulnerable |
| Ubuntu | jupyter-notebook | 20.04 | 6.0.3-1 | vulnerable |
| Ubuntu | jupyter-notebook | 20.04 | 6.0.3-2 | vulnerable |
| Ubuntu | jupyter-notebook | 20.04 | 6.0.3-2ubuntu0.1 | fixed |
| Ubuntu | jupyter-notebook | 22.04 | 6.2.0-1 | vulnerable |
| Ubuntu | jupyter-notebook | 22.04 | 6.4.5-2 | vulnerable |
| Ubuntu | jupyter-notebook | 22.04 | 6.4.5-3 | vulnerable |
| Ubuntu | jupyter-notebook | 22.04 | 6.4.5-4 | vulnerable |
| Ubuntu | jupyter-notebook | 22.04 | 6.4.8-1 | vulnerable |
| Ubuntu | jupyter-notebook | 22.04 | 6.4.8-1ubuntu0.1 | fixed |
| Ubuntu | jupyter-notebook | 18.04 | 4.2.3-4 | vulnerable |
| Ubuntu | jupyter-notebook | 18.04 | 5.1.0-2 | vulnerable |
| Ubuntu | jupyter-notebook | 18.04 | 5.2.1-2 | vulnerable |
| Ubuntu | jupyter-notebook | 18.04 | 5.2.2-1 | vulnerable |
| Ubuntu | jupyter-notebook | 18.04 | 5.2.2-1ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | jupyter-notebook | source | sid | 5.7.4-1 | not yet assigned | Not reported | [917409] |
| Debian | jupyter-notebook | source | forky | 5.7.4-1 | not yet assigned | Not reported | [917409] |
| Debian | jupyter-notebook | source | trixie | 5.7.4-1 | not yet assigned | Not reported | [917409] |
| Debian | jupyter-notebook | source | bookworm | 5.7.4-1 | not yet assigned | Not reported | [917409] |
| Ubuntu | jupyter-notebook | deb | 18.04 | 5.2.2-1ubuntu0.1 | Not reported | USN-5585-1 | Not reported |
| Ubuntu | jupyter-notebook | deb | 20.04 | 6.0.3-2ubuntu0.1 | Not reported | USN-5585-1 | Not reported |
| Ubuntu | jupyter-notebook | deb | 22.04 | 6.4.8-1ubuntu0.1 | Not reported | USN-5585-1 | Not reported |
| Ubuntu | jupyter-notebook | deb | 18.04 | 5.2.2-1ubuntu0.1 | Not reported | UBUNTU-CVE-2018-19351 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [jupyter-notebook]Fixed
Details (2)
6.4.12-2.2· all · bookwormFixed · Fixed:
5.7.4-1dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12
6.4.12-2.2· all · bookwormFixed · Fixed:
5.7.4-1dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12
- [python3-notebook]Fixed
Source package: [jupyter-notebook]
Details (2)
6.4.12-2.2· all · bookwormFixed · Fixed:
5.7.4-1dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12
6.4.12-2.2· all · bookwormFixed · Fixed:
5.7.4-1dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12
- [python-notebook-doc]Fixed
Source package: [jupyter-notebook]
Details (2)
6.4.12-2.2· all · bookwormFixed · Fixed:
5.7.4-1dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12
6.4.12-2.2· all · bookwormFixed · Fixed:
5.7.4-1dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12
[Debian 13 (Trixie)]
- [jupyter-notebook]Fixed
Details (2)
6.4.13-5· all · trixieFixed · Fixed:
5.7.4-1dsa · jupyter-notebook · debian · 13
6.4.13-5· all · trixieFixed · Fixed:
5.7.4-1dsa · jupyter-notebook · debian · 13
- [python3-notebook]Fixed
Source package: [jupyter-notebook]
Details (2)
6.4.13-5· all · trixieFixed · Fixed:
5.7.4-1dsa · jupyter-notebook · debian · 13
6.4.13-5· all · trixieFixed · Fixed:
5.7.4-1dsa · jupyter-notebook · debian · 13
- [python-notebook-doc]Fixed
Source package: [jupyter-notebook]
Details (2)
6.4.13-5· all · trixieFixed · Fixed:
5.7.4-1dsa · jupyter-notebook · debian · 13
6.4.13-5· all · trixieFixed · Fixed:
5.7.4-1dsa · jupyter-notebook · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-19351]
- [https://osv.dev/vulnerability/DLA-2432-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-19351]
- [https://osv.dev/vulnerability/USN-5585-1]
- [https://security-tracker.debian.org/tracker/CVE-2018-19351]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]