{"schemaVersion":3,"id":"CVE-2015-6938","aliases":["MGASA-2015-0372","GHSA-4vwq-x64q-j4cj","PYSEC-2015-24","PYSEC-2015-26","UBUNTU-CVE-2015-6938","DEBIAN-CVE-2015-6938"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2015-09-21T19:00:00.000Z","modified":"2024-08-06T07:36:34.863Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.3,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"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}]},"epss":{"probability":0.02792,"percentile":0.86244,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02792},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02792,"percentile":0.86244}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02792,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02792,"percentile":0.86244}]},"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":[{"id":"GITHUB_IPYTHON_IPYTHON","name":"Ipython","source":"github","url":"https://github.com/ipython/ipython/commit/3ab41641cf6fce3860c73d5cf4645aa12e1e5892","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"GITHUB_JUPYTER_NOTEBOOK","name":"Notebook","source":"github","url":"https://github.com/jupyter/notebook/commit/35f32dd2da804d108a3a3585b69ec3295b2677ed","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"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},{"text":"< 5.5.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.1-1 | < 5.5.0-1","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"21","noFixRecorded":false,"fixedIn":null},{"text":"22","noFixRecorded":false,"fixedIn":null},{"text":"23","noFixRecorded":false,"fixedIn":null}],"versionsText":"21 | 22 | 23","eol":{"isEol":true,"eolDate":"2015-12-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"21","label":"21","eolFrom":"2015-12-01T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"ipython","product":"notebook","name":"notebook","label":"notebook","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.2.1","eol":null,"hubHref":"/vendor/ipython/notebook"},{"vendor":"jupyter","product":"notebook","name":"notebook","label":"notebook","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.0.0","noFixRecorded":false,"fixedIn":null},{"text":"4.0.1","noFixRecorded":false,"fixedIn":null},{"text":"4.0.2","noFixRecorded":false,"fixedIn":null},{"text":"4.0.3","noFixRecorded":false,"fixedIn":null},{"text":"4.0.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.0.0 | 4.0.1 | 4.0.2 | 4.0.3 | 4.0.4","eol":null,"hubHref":"/vendor/jupyter/notebook"},{"vendor":"mageia","product":"ipython","name":"ipython","label":"ipython","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/ipython","purlType":"rpm","versions":[{"text":"< 2.3.0-1.2.mga4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.0-1.2.mga4","eol":null,"hubHref":null},{"vendor":"mageia","product":"ipython","name":"ipython","label":"ipython","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/ipython","purlType":"rpm","versions":[{"text":"< 2.3.0-2.3.mga5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.0-2.3.mga5","eol":null,"hubHref":null},{"vendor":"opensuse","product":"opensuse","name":"opensuse","label":"opensuse","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"13.1","noFixRecorded":false,"fixedIn":null},{"text":"13.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"13.1 | 13.2","eol":{"isEol":true,"eolDate":"2016-02-03T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"13.1","label":"13.1","eolFrom":"2016-02-03T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/opensuse"},{"vendor":"PyPI","product":"ipython","name":"ipython","label":"ipython","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/ipython","purlType":"pypi","versions":[{"text":"< 3ab41641cf6fce3860c73d5cf4645aa12e1e5892","noFixRecorded":false,"fixedIn":null},{"text":"< 3.2.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3ab41641cf6fce3860c73d5cf4645aa12e1e5892 | < 3.2.2","eol":null,"hubHref":null},{"vendor":"PyPI","product":"notebook","name":"notebook","label":"notebook","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/notebook","purlType":"pypi","versions":[{"text":"< dd9876381f0ef09873d8c5f6f2063269172331e3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.0.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< dd9876381f0ef09873d8c5f6f2063269172331e3 | ≥ 4.0.0, < 4.0.5","eol":null,"hubHref":null}],"affectedCount":10,"eol":{"hasEol":true,"count":2},"references":[{"url":"http://lists.opensuse.org/opensuse-updates/2015-10/msg00016.html","label":"lists.opensuse.org/opensuse-updates/2015-10/msg00016.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Third Party Advisory","WEB"]},{"url":"https://github.com/ipython/ipython/commit/3ab41641cf6fce3860c73d5cf4645aa12e1e5892","label":"github.com/ipython/ipython/commit/3ab41641cf6fce3860c73d5cf4645aa12e1e5892","hostname":"github.com","tags":["X Refsource CONFIRM","Exploit","WEB","FIX"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1259405","label":"bugzilla.redhat.com/show_bug.cgi?id=1259405","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","WEB","REPORT"]},{"url":"http://seclists.org/oss-sec/2015/q3/474","label":"seclists.org/oss-sec/2015/q3/474","hostname":"seclists.org","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"http://seclists.org/oss-sec/2015/q3/544","label":"seclists.org/oss-sec/2015/q3/544","hostname":"seclists.org","tags":["Mailing List","X Refsource MLIST","Patch","WEB"]},{"url":"https://github.com/jupyter/notebook/commit/dd9876381f0ef09873d8c5f6f2063269172331e3","label":"github.com/jupyter/notebook/commit/dd9876381f0ef09873d8c5f6f2063269172331e3","hostname":"github.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch","WEB","FIX"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-September/167670.html","label":"lists.fedoraproject.org/pipermail/package-announce/2015-September/167670.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Third Party Advisory","WEB"]},{"url":"https://github.com/jupyter/notebook/commit/35f32dd2da804d108a3a3585b69ec3295b2677ed","label":"github.com/jupyter/notebook/commit/35f32dd2da804d108a3a3585b69ec3295b2677ed","hostname":"github.com","tags":["X Refsource CONFIRM","Exploit","WEB","FIX"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-September/166471.html","label":"lists.fedoraproject.org/pipermail/package-announce/2015-September/166471.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Third Party Advisory","WEB"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-September/166460.html","label":"lists.fedoraproject.org/pipermail/package-announce/2015-September/166460.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Third Party Advisory","WEB"]},{"url":"https://advisories.mageia.org/MGASA-2015-0372.html","label":"advisories.mageia.org/MGASA-2015-0372.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=16686","label":"bugs.mageia.org/show_bug.cgi?id=16686","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"http://openwall.com/lists/oss-security/2015/09/14/2","label":"openwall.com/lists/oss-security/2015/09/14/2","hostname":"openwall.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-6938","label":"nvd.nist.gov/vuln/detail/CVE-2015-6938","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-4vwq-x64q-j4cj","label":"github.com/advisories/GHSA-4vwq-x64q-j4cj","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ipython/PYSEC-2015-24.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/ipython/PYSEC-2015-24.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2015-26.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2015-26.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2015-6938","label":"ubuntu.com/security/CVE-2015-6938","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-6938","label":"www.cve.org/CVERecord?id=CVE-2015-6938","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2015-6938","label":"security-tracker.debian.org/tracker/CVE-2015-6938","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2015-09-21T19:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T07:36:34.863Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:16:49.418Z","stale":false,"partial":false}}