CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2018 · Jupyter

CVE-2018-19351
Jupyter Notebook vulnerability

Jupyter Notebook before 5.7.1 allows XSS via an untrusted notebook because nbconvert responses are considered to have the same origin as the notebook server. In other words, nbconvert endpoints can execute JavaScript with access to the server API. In notebook/nbconvert/handlers.py, NbconvertFileHandler and NbconvertPostHandler do not set a Content Security Policy to prevent this.

Affected products

Notebook. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Jupyter Notebook runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Jupyter products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.