{"id":"PYSEC-2015-26","details":"Cross-site scripting (XSS) vulnerability in the file browser in notebook/notebookapp.py in IPython Notebook before 3.2.2 and Jupyter Notebook 4.0.x before 4.0.5 allows remote attackers to inject arbitrary web script or HTML via a folder name.  NOTE: this was originally reported as a cross-site request forgery (CSRF) vulnerability, but this may be inaccurate.","aliases":["CVE-2015-6938","GHSA-4vwq-x64q-j4cj","PYSEC-2015-24"],"modified":"2023-11-08T03:57:59.449215Z","published":"2015-09-21T19:59:00Z","references":[{"type":"WEB","url":"http://seclists.org/oss-sec/2015/q3/474"},{"type":"FIX","url":"https://github.com/jupyter/notebook/commit/35f32dd2da804d108a3a3585b69ec3295b2677ed"},{"type":"WEB","url":"http://seclists.org/oss-sec/2015/q3/544"},{"type":"FIX","url":"https://github.com/ipython/ipython/commit/3ab41641cf6fce3860c73d5cf4645aa12e1e5892"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-September/166471.html"},{"type":"FIX","url":"https://github.com/jupyter/notebook/commit/dd9876381f0ef09873d8c5f6f2063269172331e3"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1259405"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-September/166460.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-September/167670.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2015-10/msg00016.html"}],"affected":[{"package":{"name":"notebook","ecosystem":"PyPI","purl":"pkg:pypi/notebook"},"ranges":[{"type":"GIT","repo":"https://github.com/jupyter/notebook","events":[{"introduced":"0"},{"fixed":"35f32dd2da804d108a3a3585b69ec3295b2677ed"},{"fixed":"dd9876381f0ef09873d8c5f6f2063269172331e3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.0.5"}]}],"versions":["4.0.0","4.0.1","4.0.2","4.0.4"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/notebook/PYSEC-2015-26.yaml"}}],"schema_version":"1.7.3"}