Skip to content
OpenAdvisories
Medium · 6.1 CVE-2015-6938 EUVD-2015-0023GHSA-4vwq-x64q-j4cjPYSEC-2015-24PYSEC-2015-26

Improper Neutralization of Input During Web Page Generation in Jupyter Notebook

Published Sep 21, 2015 · Updated Aug 6, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ipython 2.4.1-1 —
Debian 13 ipython 2.4.1-1 —
Debian 12 ipython 2.4.1-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI ipython < 3.2.2 3.2.2 GHSA-4vwq-x64q-j4cj
PyPI notebook >= 4.0.0, < 4.0.5 4.0.5 GHSA-4vwq-x64q-j4cj

References