Skip to content
Fencer Vulns
medium 5.3

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

Exploit prediction

1.44% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).

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

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
  • CWE-863 Incorrect Authorization

References

Sources

Fencer Vulns 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.