Improper Input Validation in Jupyter Notebook
The editor in IPython Notebook before 3.2.2 and Jupyter Notebook 4.0.x before 4.0.5 allows remote attackers to execute arbitrary JavaScript code via a crafted file, which triggers a redirect to files/, related to MIME types.
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
- https://github.com/jupyter/notebook/commit/9e63dd89b603dfbe3a7e774d8a962ee0fa30c0b5
- https://github.com/ipython/ipython/commit/0a8096adf165e2465550bd5893d7e352544e5967
- http://seclists.org/oss-sec/2015/q3/558
- http://seclists.org/oss-sec/2015/q3/634
- http://lists.fedoraproject.org/pipermail/package-announce/2015-September/167670.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1264067
- https://security.gentoo.org/glsa/201512-02
- https://github.com/advisories/GHSA-92mr-v722-f48m
- https://nvd.nist.gov/vuln/detail/CVE-2015-7337
- https://github.com/pypa/advisory-database/tree/main/vulns/ipython/PYSEC-2015-25.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2015-27.yaml
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-20- Platform
- Python (PyPI)
- Package
ipython, notebook- Disclosed
- 29.09.2015
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2015-25 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2015-27 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-92mr-v722-f48m - CC BY 4.0
Vulnerability history: ipython
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
- 8
- First → latest
- 08.2014 02.2023
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 3
- Medium 3
- Low 1
Disclosures per year
- 2017: 3
- 2018: 0
- 2019: 0
- 2020: 0
- 2021: 0
- 2022: 1
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 0
earlier: 3
-
Improper Input Validation 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.