Advisory

GHSA-jqwc-jm56-wcwj

Also known as: CVE-2018-21030, PYSEC-2019-157

Summary

Cross-site scripting in Jupyter Notebook

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2019-11-08 17:07 UTC
Modified
2024-10-07 15:12 UTC

Affected packages and fixes

notebook

PyPI · All systems

Affected

  • introduced 0, fixed 5.5.0rc1 (ecosystem)

Fixed versions

5.5.0rc1

Fix

  • Fixed version 5.5.0rc1
    pip install --upgrade notebook==5.5.0rc1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences