CVE-2018-21030 json
Cross-site scripting in Jupyter Notebook
published 2019-10-31 7 y ago modified 2026-06-17 4 mo ago also GHSA-jqwc-jm56-wcwj , PYSEC-2019-157 , EUVD-2019-0093
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi notebook 5.5.0, 5.5.0rc1
- jupyter notebook 5.5.0
- jupyter-notebook Debian 14, Debian 13, Debian 12 5.7.4-1
debian advisories DEBIAN-CVE-2018-21030
- jupyter-notebook Ubuntu 18.04 LTS 5.2.2-1ubuntu0.1
ubuntu advisories UBUNTU-CVE-2018-21030
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/jupyter/notebook@e321c80 commit
- github.com/jupyter/notebook#3341 pull request
- github.com/jupyter/notebook/releases/tag/5.5.0 release
Exploit prediction
1.44% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | notebook | <5.5.0rc1 <5.5.0 |
5.5.0rc1 5.5.0 |
Classification
References
-
github.com
/jupyter/notebook/pull/3341
web, patch, third-party-advisory
-
github.com
/jupyter/notebook/commit/e321c80776542b8d6f3411af16f9e21e51e27687
web
-
github.com
/jupyter/notebook/releases/tag/5.5.0
web, release-notes, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/11/msg00033.html
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2018-21030
advisory
-
github.com
/advisories/GHSA-jqwc-jm56-wcwj
advisory
-
github.com
/jupyter/notebook
package
-
github.com
/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2019-157.yaml
web
Sources
- CVE List CVE-2018-21030
- GitHub Advisory GHSA-jqwc-jm56-wcwj
- NVD CVE-2018-21030
- OSV PYSEC-2019-157
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.