VDB
CVE-2018-21030
CVE-2018-21030
PUBLISHED
CVSS 5.300000190734863 MEDIUM
Cross-site scripting in Jupyter Notebook
Reported by mitre · Published October 31, 2019
notebook is fixed in 5.5.0rc1 and 5.5.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| notebook | PyPI | 5.5.0rc1, 5.5.0 |
| notebook | jupyter | 5.5.0 |
| jupyter-notebook | Ubuntu:18.04:LTS | 5.2.2-1ubuntu0.1 |
Risk scores
CVSS 3.1
5.300000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| PyPI | notebook | 0 |
Timeline
- Oct 31, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory (2 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Sep 21, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-21030
vulnetix vdb fixes CVE-2018-21030
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-21030/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- [debian-lts-announce] 20201119 [SECURITY] [DLA 2432-1] jupyter-notebook security update mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2018-21030 advisory
- https://github.com/advisories/GHSA-jqwc-jm56-wcwj advisory
- https://github.com/jupyter/notebook/commit/e321c80776542b8d6f3411af16f9e21e51e27687 patch
- https://github.com/jupyter/notebook url
- https://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2019-157.yaml advisory