{"id":"CVE-2015-4706","aliases":["EUVD-2017-0062","GHSA-q326-jhw3-699g","PYSEC-2017-45"],"status":"published","title":"Improper Neutralization of Input During Web Page Generation in IPython","description":"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.","severity":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.021,"percentile":0.81827,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2017-09-21T14:00:00Z","modified":"2026-06-17T00:27:45Z","fixes":[{"ecosystem":"PyPI","package":"ipython","fixed_in":["3.2.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"ipython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"ipython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.0"}]}],"versions":["3.0.0","3.1.0"]},{"source":"osv","ecosystem":"PyPI","package":"ipython","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"c2078a53543ed502efd968649fee1125e0eb549c"},{"fixed":"7222bd53ad089a65fd610fab4626f9d0ab47dfce"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.0"}]}],"versions":["3.0.0","3.1.0"]}],"products":[{"vendor":"ipython","product":"ipython"}],"references":[{"url":"https://ipython.org/ipython-doc/3/whatsnew/version3.html","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Vendor Advisory","web"]},{"url":"https://github.com/ipython/ipython/commit/7222bd53ad089a65fd610fab4626f9d0ab47dfce","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","web","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2015/06/22/7","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/ipython/ipython/commit/c2078a53543ed502efd968649fee1125e0eb549c","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","web","fix"]},{"url":"http://www.securityfocus.com/bid/75328","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1235688","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","VDB Entry","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-4706","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-q326-jhw3-699g","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ipython/PYSEC-2017-45.yaml","tags":["web"]},{"url":"https://web.archive.org/web/20200516112656/http://www.securityfocus.com/bid/75328","tags":["web"]},{"url":"https://github.com/ipython/ipython","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2015-4706","description":"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.","status":"published","published":"2017-09-21T14:00:00Z","modified":"2024-08-06T06:25:20.232Z","updated_at":"2026-11-02T14:35:43.322279Z"}],"euvd":[{"id":"EUVD-2017-0062","description":"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.","status":"published","published":"2017-09-21T14:00:00Z","modified":"2024-08-06T06:25:20Z","updated_at":"2026-11-03T02:22:03.142599Z"}],"ghsa":[{"id":"GHSA-q326-jhw3-699g","title":"Improper Neutralization of Input During Web Page Generation in IPython","description":"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.","status":"published","published":"2022-05-17T00:36:05Z","modified":"2024-09-23T16:46:29Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","level":"medium"},{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:05.526697Z"}],"nvd":[{"id":"CVE-2015-4706","description":"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.","status":"published","published":"2017-09-21T14:29:00.23Z","modified":"2026-06-17T00:27:45.51Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:03:19.244941Z"}],"osv":[{"id":"GHSA-q326-jhw3-699g","title":"Improper Neutralization of Input During Web Page Generation in IPython","description":"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.","status":"published","published":"2022-05-17T00:36:05Z","modified":"2024-09-23T17:17:48.086526Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:54.055966Z"},{"id":"PYSEC-2017-45","description":"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.","status":"published","published":"2017-09-21T14:29:00Z","modified":"2023-11-08T03:57:55.658486Z","updated_at":"2026-11-02T15:52:51.645172Z"}]}}
