JupyterGHSA-jqwc-jm56-wcwj
Cross-site scripting in Jupyter Notebook
Fix: upgrade to 5.5.0rc1 or later
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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| notebook PyPI | < 5.5.0rc1 | 5.5.0rc1 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-79
- Also known as
- CVE-2018-21030, PYSEC-2019-157
- nvd.nist.gov/vuln/detail/CVE-2018-21030
- github.com/jupyter/notebook/pull/3341
- github.com/jupyter/notebook/commit/e321c80776542b8d6f3411af16f9e21e51e27687
- github.com/advisories/GHSA-jqwc-jm56-wcwj
- github.com/jupyter/notebook
- github.com/jupyter/notebook/releases/tag/5.5.0
- github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2019-157.yaml
- lists.debian.org/debian-lts-announce/2020/11/msg00033.html