Improper Neutralization of Input During Web Page Generation in Jupyter Notebook
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | ipython | < 3.2.2 | 3.2.2 |
| Python (PyPI) | notebook | >= 4.0.0, < 4.0.5 | 4.0.5 |
References
- http://seclists.org/oss-sec/2015/q3/474
- https://github.com/jupyter/notebook/commit/35f32dd2da804d108a3a3585b69ec3295b2677ed
- http://seclists.org/oss-sec/2015/q3/544
- https://github.com/ipython/ipython/commit/3ab41641cf6fce3860c73d5cf4645aa12e1e5892
- http://lists.fedoraproject.org/pipermail/package-announce/2015-September/166471.html
- https://github.com/jupyter/notebook/commit/dd9876381f0ef09873d8c5f6f2063269172331e3
- https://bugzilla.redhat.com/show_bug.cgi?id=1259405
- http://lists.fedoraproject.org/pipermail/package-announce/2015-September/166460.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-September/167670.html
- http://lists.opensuse.org/opensuse-updates/2015-10/msg00016.html
- https://github.com/advisories/GHSA-4vwq-x64q-j4cj
- https://nvd.nist.gov/vuln/detail/CVE-2015-6938
- https://github.com/pypa/advisory-database/tree/main/vulns/ipython/PYSEC-2015-24.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2015-26.yaml
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Python (PyPI)
- Package
ipython, notebook- Disclosed
- 21.09.2015
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2015-24 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2015-26 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-4vwq-x64q-j4cj - CC BY 4.0
Vulnerability history: notebook
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 21
- First → latest
- 09.2015 10.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 8
- Medium 11
- Low 1
Disclosures per year
- 2017: 0
- 2018: 3
- 2019: 4
- 2020: 1
- 2021: 2
- 2022: 2
- 2023: 0
- 2024: 3
- 2025: 0
- 2026: 4
earlier: 2
-
Improper Neutralization of Input During Web Page Generation in Jupyter Notebook this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.