CVE-2015-6938 Cross-site Scripting
No CVSS score yet. EPSS 2.8% estimated probability of exploitation activity in the next 30 days. Fixed in notebook 4.0.5.
On this page
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.
- EPSS
- 2.8% (unchanged from 2.8% a week ago; 2.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
notebook(PyPI): fixed in 4.0.5ipython(PyPI): fixed in 3.2.2- Debian: fixed package versions per release
- Patch: http://seclists.org/oss-sec/2015/q3/544
- Patch: https://github.com/jupyter/notebook/commit/dd9876381f0ef09873d8c5f6f2063269172331e3
Ask an AI about this CVE
Show the prompt
Explain CVE-2015-6938 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-6938?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-6938?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-6938 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| jupyter:notebook | 4.0.0 |
| jupyter:notebook | 4.0.1 |
| jupyter:notebook | 4.0.2 |
| jupyter:notebook | 4.0.3 |
| jupyter:notebook | 4.0.4 |
| fedoraproject:fedora | 21 |
| fedoraproject:fedora | 22 |
| fedoraproject:fedora | 23 |
| opensuse:opensuse | 13.1 |
| opensuse:opensuse | 13.2 |
| ipython:notebook | through 3.2.1 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-4vwq-x64q-j4cj | PyPI | notebook | >=4.0.0 <4.0.5 | 4.0.5 |
| GHSA-4vwq-x64q-j4cj | PyPI | ipython | <3.2.2 | 3.2.2 |
| PYSEC-2015-24 | PyPI | ipython | <3.2.2 | 3.2.2 |
| PYSEC-2015-26 | PyPI | notebook | >=4.0.0 <4.0.5 | 4.0.5 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | ipython | 2.4.1-1 | DEBIAN-CVE-2015-6938 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
Attack patterns (CAPEC)
- CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
- CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
- CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
- CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
- CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
- CAPEC-592 Stored XSS Likelihood: High · Severity: Very High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
References
- http://seclists.org/oss-sec/2015/q3/544
- https://github.com/jupyter/notebook/commit/dd9876381f0ef09873d8c5f6f2063269172331e3
- http://lists.fedoraproject.org/pipermail/package-announce/2015-September/166460.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-September/166471.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-September/167670.html
- http://lists.opensuse.org/opensuse-updates/2015-10/msg00016.html
- http://seclists.org/oss-sec/2015/q3/474
- https://bugzilla.redhat.com/show_bug.cgi?id=1259405
- https://github.com/ipython/ipython/commit/3ab41641cf6fce3860c73d5cf4645aa12e1e5892
- https://github.com/jupyter/notebook/commit/35f32dd2da804d108a3a3585b69ec3295b2677ed