Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | jupyter-notebook | 5.7.4-1 | — |
| Debian 13 | jupyter-notebook | 5.7.4-1 | — |
| Debian 12 | jupyter-notebook | 5.7.4-1 | — |
| Debian 9 | jupyter-notebook | 4.2.3-4+deb9u1 | DLA-2432-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | jupyter-notebook | 6.4.8-1ubuntu0.1 | USN-5585-1 |
| Ubuntu 20.04 LTS | jupyter-notebook | 6.0.3-2ubuntu0.1 | USN-5585-1 |
| Ubuntu 18.04 LTS | jupyter-notebook | 5.2.2-1ubuntu0.1 | USN-5585-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | notebook | < 5.5.0rc1 | 5.5.0rc1 | GHSA-jqwc-jm56-wcwj |
| PyPI | notebook | < 5.5.0 | 5.5.0 | PYSEC-2019-157 |
Advisories 2
- USN-5585-1 jupyter-notebook vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-2432-1 jupyter-notebook - security update Debian Security (DSA / DLA) · Mar 9, 2026