GitHub Advisory Database
GHSA-3p4q-x8f3-p7vq
Jupyter Notebook XSS via directory name
Details
Jupyter Notebook before 5.7.2 allows XSS via a crafted directory name because notebook/static/tree/js/notebooklist.js handles certain URLs unsafely.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | notebook | All versions before 5.7.2 (fixed in 5.7.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-19352
- https://github.com/jupyter/notebook/commit/288b73e1edbf527740e273fcc69b889460871648
- https://github.com/jupyter/notebook
- https://github.com/jupyter/notebook/blob/master/docs/source/changelog.rst
- https://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2018-18.yaml
- https://pypi.org/project/notebook/#history