PyPI: notebook
CVE-2018-21030
Safety vulnerability ID: SFTY-20191031-64384
Safety legacy ID: pyup.io-54682
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.
Overview
Cross-site scripting in Jupyter Notebook
Advisory
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.
How to Fix
Upgradenotebookto5.5.0rc1or higher.
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20191031-64384/CVE-2018-21030
- https://nvd.nist.gov/vuln/detail/CVE-2018-21030
- https://github.com/jupyter/notebook/pull/3341
- https://github.com/jupyter/notebook/releases/tag/5.5.0
- https://lists.debian.org/debian-lts-announce/2020/11/msg00033.html
- https://github.com/jupyter/notebook/commit/e321c80776542b8d6f3411af16f9e21e51e27687
- https://github.com/advisories/GHSA-jqwc-jm56-wcwj
- https://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2019-157.yaml
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
