You can check your version of the notebook package by issuing the following command:
jupyter notebook --version
Whether you are using classic notebook, JupyterLab or any other notebook server extensions, we recommend that you update the notebook package with:
pip install --upgrade notebook
or if you are using conda-forge
conda upgrade notebook
Thanks especially to Jonathan and Marvin for reporting these issues! If you find a security issue in a Jupyter project, please report it to email@example.com .