Cross-site scripting in Jupyter Notebook - CVE-2018-19352

 

Cross-site scripting in Jupyter Notebook - CVE-2018-19352

Published: November 18, 2018


Vulnerability identifier: #VU15944
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2018-19352
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data passed via a specially crafted directory name in notebook/static/tree/js/notebooklist.js. A remote attacker can trick the victim to follow a specially specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Affected software

Jupyter Notebook
Arch Linux
Fedora
python-notebook

How to mitigate CVE-2018-19352

Install update from vendor's website.

Jupyter Notebook - update to 5.7.2
python-notebook - addressed in versions 5.5.0-6.fc28, 5.7.2-1.fc29

External References

Related Security Bulletins