CVE-2018-19351

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-19351
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-19351.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-19351
Aliases
Related
Published
2018-11-18T17:29:00Z
Modified
2024-10-12T03:20:19.993313Z
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

Debian:11 / jupyter-notebook

Package

Name
jupyter-notebook
Purl
pkg:deb/debian/jupyter-notebook?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.7.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / jupyter-notebook

Package

Name
jupyter-notebook
Purl
pkg:deb/debian/jupyter-notebook?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.7.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / jupyter-notebook

Package

Name
jupyter-notebook
Purl
pkg:deb/debian/jupyter-notebook?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.7.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

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