Advisory

GHSA-4vwq-x64q-j4cj

Also known as: CVE-2015-6938, PYSEC-2015-24, PYSEC-2015-26

Summary

Improper Neutralization of Input During Web Page Generation in Jupyter Notebook

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-14 02:04 UTC
Modified
2024-09-23 17:27 UTC

Affected packages and fixes

notebook

PyPI · All systems

Affected

  • introduced 4.0.0, fixed 4.0.5 (ecosystem)

Fixed versions

4.0.5

Fix

  • Fixed version 4.0.5
    pip install --upgrade notebook==4.0.5

ipython

PyPI · All systems

Affected

  • introduced 0, fixed 3.2.2 (ecosystem)

Fixed versions

3.2.2

Fix

  • Fixed version 3.2.2
    pip install --upgrade ipython==3.2.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences