{"schemaVersion":3,"id":"CVE-2015-4707","aliases":["GHSA-66gw-5xpf-gfp5","PYSEC-2017-46","UBUNTU-CVE-2015-4707","DEBIAN-CVE-2015-4707"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2017-09-20T18:00:00.000Z","modified":"2024-08-06T06:25:20.163Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":5.3,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true}]},"epss":{"probability":0.02274,"percentile":0.82843,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02274},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02274,"percentile":0.82843}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02274,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02274,"percentile":0.82843}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"debian","product":"ipython","name":"ipython","label":"ipython","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ipython","purlType":"deb","versions":[{"text":"< 2.4.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ipython","name":"ipython","label":"ipython","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ipython","purlType":"deb","versions":[{"text":"< 2.4.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.1-1","eol":null,"hubHref":null},{"vendor":"ipython","product":"ipython","name":"ipython","label":"ipython","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.2.0","eol":null,"hubHref":"/vendor/ipython/ipython"},{"vendor":"PyPI","product":"ipython","name":"ipython","label":"ipython","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/ipython","purlType":"pypi","versions":[{"text":"< 7222bd53ad089a65fd610fab4626f9d0ab47dfce","noFixRecorded":false,"fixedIn":null},{"text":"< 3.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7222bd53ad089a65fd610fab4626f9d0ab47dfce | < 3.2.0","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://ipython.org/ipython-doc/3/whatsnew/version3.html","label":"ipython.org/ipython-doc/3/whatsnew/version3.html","hostname":"ipython.org","tags":["X Refsource CONFIRM","Vendor Advisory","WEB"]},{"url":"https://github.com/ipython/ipython/commit/7222bd53ad089a65fd610fab4626f9d0ab47dfce","label":"github.com/ipython/ipython/commit/7222bd53ad089a65fd610fab4626f9d0ab47dfce","hostname":"github.com","tags":["X Refsource CONFIRM","Patch","Third Party Advisory","WEB","FIX"]},{"url":"http://www.openwall.com/lists/oss-security/2015/06/22/7","label":"www.openwall.com/lists/oss-security/2015/06/22/7","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory","WEB"]},{"url":"https://github.com/ipython/ipython/commit/c2078a53543ed502efd968649fee1125e0eb549c","label":"github.com/ipython/ipython/commit/c2078a53543ed502efd968649fee1125e0eb549c","hostname":"github.com","tags":["X Refsource CONFIRM","Patch","Third Party Advisory","WEB","FIX"]},{"url":"http://www.securityfocus.com/bid/75328","label":"www.securityfocus.com/bid/75328","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory","WEB"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1235688","label":"bugzilla.redhat.com/show_bug.cgi?id=1235688","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Third Party Advisory","WEB","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-4707","label":"nvd.nist.gov/vuln/detail/CVE-2015-4707","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-66gw-5xpf-gfp5","label":"github.com/advisories/GHSA-66gw-5xpf-gfp5","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/ipython/ipython","label":"github.com/ipython/ipython","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ipython/PYSEC-2017-46.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/ipython/PYSEC-2017-46.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://web.archive.org/web/20200227150022/https://www.securityfocus.com/bid/75328","label":"web.archive.org/web/20200227150022/https://www.securityfocus.com/bid/75328","hostname":"web.archive.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2015-4707","label":"ubuntu.com/security/CVE-2015-4707","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://www.openwall.com/lists/oss-security/2015/06/22/4","label":"www.openwall.com/lists/oss-security/2015/06/22/4","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-4707","label":"www.cve.org/CVERecord?id=CVE-2015-4707","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2015-4707","label":"security-tracker.debian.org/tracker/CVE-2015-4707","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2015-0300"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-09-20T18:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T06:25:20.163Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":25,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T21:54:26.834Z","stale":false,"partial":false}}