Skip to main content
← All vulnerabilities
CVE-2018-19351PYSEC-2018-17GHSA-49QR-XH3W-H436

Jupyter Notebook before 5.7.1 allows XSS via an untrusted notebook because nbconvert responses are considered to have the same origin as the

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.7.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • notebookPyPI

    fixed in 5.7.1

References 5

groups.google.com

pypi.org

GitHub · jupyter/notebook

lists.debian.org