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.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ipython | 2.4.1-1 | — |
| Debian 13 | ipython | 2.4.1-1 | — |
| Debian 12 | ipython | 2.4.1-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | ipython | < 3.2.0 | 3.2.0 | GHSA-66gw-5xpf-gfp5 |
References
- https://ipython.org/ipython-doc/3/whatsnew/version3.html
- https://github.com/ipython/ipython/commit/7222bd53ad089a65fd610fab4626f9d0ab47dfce
- [oss-security] 20150622 Re: CVE request: IPython XSS in JSON error responses mailing-list
- https://github.com/ipython/ipython/commit/c2078a53543ed502efd968649fee1125e0eb549c
- 75328 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1235688