VDB
Sign up
MEDIUM4.3

PYSEC-2015-26

Quick fix

PYSEC-2015-26 — notebook: upgrade to the fixed version with the command below.

pip install --upgrade 'notebook>=35f32dd2da804d108a3a3585b69ec3295b2677ed'

Details

Cross-site scripting (XSS) vulnerability in the file browser in notebook/notebookapp.py in IPython Notebook before 3.2.2 and Jupyter Notebook 4.0.x before 4.0.5 allows remote attackers to inject arbitrary web script or HTML via a folder name. NOTE: this was originally reported as a cross-site request forgery (CSRF) vulnerability, but this may be inaccurate.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/notebook"]}'