{"id":"GHSA-q326-jhw3-699g","summary":"Improper Neutralization of Input During Web Page Generation in IPython","details":"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.","aliases":["CVE-2015-4706","PYSEC-2017-45"],"modified":"2024-09-23T17:19:12.664194Z","published":"2022-05-17T00:36:05Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-07-06T20:15:42Z","nvd_published_at":"2017-09-21T14:29:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-4706"},{"type":"WEB","url":"https://github.com/ipython/ipython/commit/7222bd53ad089a65fd610fab4626f9d0ab47dfce"},{"type":"WEB","url":"https://github.com/ipython/ipython/commit/c2078a53543ed502efd968649fee1125e0eb549c"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1235688"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-q326-jhw3-699g"},{"type":"PACKAGE","url":"https://github.com/ipython/ipython"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ipython/PYSEC-2017-45.yaml"},{"type":"WEB","url":"https://ipython.org/ipython-doc/3/whatsnew/version3.html"},{"type":"WEB","url":"https://web.archive.org/web/20200516112656/http://www.securityfocus.com/bid/75328"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/06/22/7"}],"affected":[{"package":{"name":"ipython","ecosystem":"PyPI","purl":"pkg:pypi/ipython"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.0"}]}],"versions":["3.0.0","3.1.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-q326-jhw3-699g/GHSA-q326-jhw3-699g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"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"}]}