# CVE-2015-4706: Improper Neutralization of Input During Web Page Generation in IPython

Source: https://junglewise.ai/threats/cve-2015-4706-improper-neutralization-of-input-during-web-page-generation-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2017-09-21  
License: CC BY 4.0 with a link back

CVE-2015-4706 · Severity: low · CVSS 3 · Published 2017-09-21

Cross-site scripting (XSS) vulnerability in IPython 3.x before 3.2 allows remote attackers to inject arbitrary web script or HTML via vectors involving JSON error messages and the /api/contents path.

Technologies: [ipython (PyPI)](https://junglewise.ai/threats/technologies/ipython). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2015-4706 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2015-4706 being exploited in the wild.

**How severe is CVE-2015-4706?** Low severity, with a CVSS score of 3, published 21 September 2017.

**Which products and versions are affected?** ipython (PyPI) ECOSYSTEM:introduced=3.0.0,fixed=3.2.0, GIT:introduced=0,fixed=c2078a53543ed502efd968649fee1125e0eb549c,fixed=7222bd53ad089a65fd610fab4626f9d0ab47dfce|ECOSYSTEM:introduced=3.0.0,fixed=3.2.0.

**Is there a fix for CVE-2015-4706?** Yes. ipython (PyPI): upgrade to 3.2.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2015-4706?** Check whether you run ipython (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- ipython (PyPI): upgrade to 3.2.0 or later

  ```sh
  pip install "ipython>=3.2.0"
  ```


## Affected products

- ipython (PyPI) ECOSYSTEM:introduced=3.0.0,fixed=3.2.0, GIT:introduced=0,fixed=c2078a53543ed502efd968649fee1125e0eb549c,fixed=7222bd53ad089a65fd610fab4626f9d0ab47dfce|ECOSYSTEM:introduced=3.0.0,fixed=3.2.0

## Identifiers

- CVE-2015-4706
- GHSA-q326-jhw3-699g
- PYSEC-2017-45

## Related threats

- [IPython command injection in set_term_title](https://junglewise.ai/threats/cve-2023-24816-ipython-command-injection-in-set-term-title)
- [Execution with Unnecessary Privileges in ipython](https://junglewise.ai/threats/cve-2022-21699-execution-with-unnecessary-privileges-in-ipython)
- [Improper Neutralization of Input During Web Page Generation in IPython](https://junglewise.ai/threats/cve-2015-4707-improper-neutralization-of-input-during-web-page-generation-in)
- [PYSEC-2017-47 - Cross-site request forgery in the REST API in IPython 2 and 3.](https://junglewise.ai/threats/cve-2015-5607-ipython-vulnerable-to-cross-site-request-forgery-csrf)
- [Improper Input Validation in Jupyter Notebook](https://junglewise.ai/threats/cve-2015-7337-improper-input-validation-in-jupyter-notebook)
