CVE-2018-19351

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-19351
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19351.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-19351
Aliases
Downstream
Related
Published
2018-11-18T17:29:00Z
Modified
2025-10-21T04:33:33.406940Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/jupyter/notebook

Affected ranges

Type
GIT
Repo
https://github.com/jupyter/notebook
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

4.*

4.0.0
4.0.1
4.1.0

5.*

5.0.0
5.0.0-rc.1
5.0.0b1
5.0.0b2
5.0.0rc2
5.1.0
5.1.0rc1
5.1.0rc2
5.1.0rc3
5.2.0
5.2.0rc1
5.3.0
5.3.0rc1
5.3.1
5.4.0
5.5.0
5.5.0rc1
5.6.0
5.6.0rc1
5.7.0