CVE-2018-21030
MEDIUM 5.3CVSS 3.1Cross-site scripting in Jupyter Notebook
Jupyter Notebook before 5.5.0 does not use a CSP header to treat served files as belonging to a separate origin. Thus, for example, an XSS payload can be placed in an SVG document.
- Published
- 31 Oct 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-jqwc-jm56-wcwjPYSEC-2019-157
- Sources
- NVDJSONOSV GHSA-jqwc-jm56-wcwjJSONOSV PYSEC-2019-157JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jupyter | notebookcpe:2.3:a:jupyter:notebook:*:*:*:*:*:*:*:* |
< 5.5.0 | 5.5.0 |
| OSV | PyPI | notebook | < 5.5.0rc1 | 5.5.0rc1 |
| OSV | PyPI | notebook | < 5.5.0 | 5.5.0 |
References
- https://github.com/jupyter/notebook/pull/3341 · Patch, Third Party Advisory, WEB
- https://github.com/jupyter/notebook/releases/tag/5.5.0 · Release Notes, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2020/11/msg00033.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-21030 · ADVISORY
- https://github.com/jupyter/notebook/commit/e321c80776542b8d6f3411af16f9e21e51e27687 · WEB
- https://github.com/advisories/GHSA-jqwc-jm56-wcwj · ADVISORY
- https://github.com/jupyter/notebook · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2019-157.yaml · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 31 Oct 2019)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 31 Oct 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Nov 2019)