CVE-2018-21030: Cross-site scripting in Jupyter Notebook

CVE-2018-21030 · Severity: low · CVSS 3.1 · Published 2019-10-31

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.

Technologies: notebook (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2018-21030 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2018-21030 being exploited in the wild.
How severe is CVE-2018-21030?
Low severity, with a CVSS score of 3.1, published 31 October 2019.
Which products and versions are affected?
notebook (PyPI) ECOSYSTEM:introduced=0,fixed=5.5.0, ECOSYSTEM:introduced=0,fixed=5.5.0rc1.
Is there a fix for CVE-2018-21030?
Yes. notebook (PyPI): upgrade to 5.5.0, 5.5.0rc1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2018-21030?
Check whether you run notebook (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • notebook (PyPI): upgrade to 5.5.0, 5.5.0rc1 or later
    pip install "notebook>=5.5.0rc1"

Affected products

  • notebook (PyPI) ECOSYSTEM:introduced=0,fixed=5.5.0, ECOSYSTEM:introduced=0,fixed=5.5.0rc1

Identifiers

  • CVE-2018-21030
  • GHSA-jqwc-jm56-wcwj
  • PYSEC-2019-157

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.