JupyterGHSA-3p4q-x8f3-p7vq
Jupyter Notebook XSS via directory name
Fix: upgrade to 5.7.2 or later
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| notebook PyPI | < 5.7.2 | 5.7.2 |
Details and references
- CVSS 3.0
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-79
- Also known as
- CVE-2018-19352, PYSEC-2018-18
- nvd.nist.gov/vuln/detail/CVE-2018-19352
- github.com/jupyter/notebook/commit/288b73e1edbf527740e273fcc69b889460871648
- github.com/jupyter/notebook
- github.com/jupyter/notebook/blob/master/docs/source/changelog.rst
- github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2018-18.yaml
- pypi.org/project/notebook/#history