CVE-2018-19351

Description

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.

Risk Information

Base Score
6.1
MODERATE
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Score
Exploitation Probability
0.307

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2018-19351 are fixed in Python-notebook 5.7.1Windows
Jupyter interactive notebook (USN-5585-1) python-notebook_5.2.2-1ubuntu0.1_all.debLinux
Jupyter interactive notebook (USN-5585-1) jupyter-notebook_5.2.2-1ubuntu0.1_all.debLinux
Jupyter interactive notebook (USN-5585-1) jupyter-notebook_6.0.3-2ubuntu0.1_all.debLinux
Jupyter interactive notebook (USN-5585-1) jupyter-notebook_6.4.8-1ubuntu0.1_all.debLinux
Jupyter interactive notebook (USN-5585-1) python3-notebook_5.2.2-1ubuntu0.1_all.debLinux
Jupyter interactive notebook (USN-5585-1) python3-notebook_6.0.3-2ubuntu0.1_all.debLinux
Jupyter interactive notebook (USN-5585-1) python3-notebook_6.4.8-1ubuntu0.1_all.debLinux
Vulnerabilities CVE-2018-19351 are fixed in Python-notebook for linux 5.7.1Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234