CVE-2018-21030: XSS
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/notebookto a version that resolves this vulnerability.Fixed in 5.5.0rc1 - Upgrade
Upgrade
debian/jupyter-notebookto a version that resolves this vulnerability.Fixed in 5.7.4-1 - Upgrade
Upgrade
debian/jupyter-notebookto a version that resolves this vulnerability.Fixed in 4.2.3-4+deb9u1Fixed in 5.7.4-1
Event History
Frequently Asked Questions
What is CVE-2018-21030?
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.
How does CVE-2018-21030 work?
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.
How severe is CVE-2018-21030?
CVE-2018-21030 has a severity rating of 5.3, which is considered medium.
How can I fix CVE-2018-21030?
To fix CVE-2018-21030, upgrade Jupyter Notebook to version 5.5.0 or newer.
Where can I find more information about CVE-2018-21030?
More information about CVE-2018-21030 can be found at the following references: [link1], [link2], [link3].