Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. notebook
  4. ›
  5. CVE-2018-21030

CVE-2018-21030: Cross-site scripting in Jupyter Notebook

November 8, 2019 (updated October 7, 2024)

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.

References

  • github.com/advisories/GHSA-jqwc-jm56-wcwj
  • github.com/jupyter/notebook
  • github.com/jupyter/notebook/commit/e321c80776542b8d6f3411af16f9e21e51e27687
  • github.com/jupyter/notebook/pull/3341
  • github.com/jupyter/notebook/releases/tag/5.5.0
  • github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2019-157.yaml
  • lists.debian.org/debian-lts-announce/2020/11/msg00033.html
  • nvd.nist.gov/vuln/detail/CVE-2018-21030

Code Behaviors & Features

Detect and mitigate CVE-2018-21030 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 5.5.0rc1

Fixed versions

  • 5.5.0rc1

Solution

Upgrade to version 5.5.0rc1 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/notebook/CVE-2018-21030.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:23 +0000.