Cross-site scripting in Jupyter Notebook - CVE-2018-19351
Published: November 18, 2018
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 in notebook/nbconvert/handlers.py. 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
Arch Linux
Ubuntu
Fedora
python3-notebook (Ubuntu package)
jupyter-notebook (Ubuntu package)
python-notebook (Ubuntu package)
python-notebook
How to mitigate CVE-2018-19351
python3-notebook (Ubuntu package) - addressed in versions 5.2.2-1ubuntu0.1, 6.0.3-2ubuntu0.1, 6.4.8-1ubuntu0.1
jupyter-notebook (Ubuntu package) - addressed in versions 5.2.2-1ubuntu0.1, 6.0.3-2ubuntu0.1, 6.4.8-1ubuntu0.1
python-notebook (Ubuntu package) - update to 5.2.2-1ubuntu0.1
python-notebook - addressed in versions 5.5.0-6.fc28, 5.7.2-1.fc29