First published: Thu Oct 31 2019(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Jupyter Notebook | <5.5.0 | |
pip/notebook | <5.5.0rc1 | 5.5.0rc1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-21030 is a vulnerability in Jupyter Notebook before version 5.5.0 that allows an attacker to place an XSS payload in an SVG document.
CVE-2018-21030 occurs because Jupyter Notebook does not use a Content Security Policy (CSP) header, allowing served files to be treated as belonging to the same origin, which can be exploited to execute malicious scripts.
CVE-2018-21030 has a severity rating of 5.3, which is considered medium.
To fix CVE-2018-21030, upgrade Jupyter Notebook to version 5.5.0 or newer.
More information about CVE-2018-21030 can be found at the following references: [link1], [link2], [link3].