Description
Jupyter Notebook before 5.7.2 allows XSS via a crafted directory name because notebook/static/tree/js/notebooklist.js handles certain URLs unsafely.
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 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | notebook | < 5.7.2 | 5.7.2 | GHSA-3p4q-x8f3-p7vq |