VDB
Sign up
—

PYSEC-2018-57

Quick fix

PYSEC-2018-57 — notebook: upgrade to the fixed version with the command below.

pip install --upgrade 'notebook>=5.4.1'

Details

In Jupyter Notebook before 5.4.1, a maliciously forged notebook file can bypass sanitization to execute JavaScript in the notebook context. Specifically, invalid HTML is 'fixed' by jQuery after sanitization, making it dangerous.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/notebook
Introduced in: 0Fixed in: 5.4.1
Fixpip install --upgrade 'notebook>=5.4.1'

References