Skip to content
OpenAdvisories
Medium · 5.3 CVE-2018-21030 EUVD-2019-0093GHSA-jqwc-jm56-wcwjPYSEC-2019-157

Cross-site scripting in Jupyter Notebook

Published Oct 31, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

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 in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jupyter-notebook 5.7.4-1 —
Debian 13 jupyter-notebook 5.7.4-1 —
Debian 12 jupyter-notebook 5.7.4-1 —
Debian 9 jupyter-notebook 4.2.3-4+deb9u1 DLA-2432-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS jupyter-notebook 6.4.8-1ubuntu0.1 USN-5585-1
Ubuntu 20.04 LTS jupyter-notebook 6.0.3-2ubuntu0.1 USN-5585-1
Ubuntu 18.04 LTS jupyter-notebook 5.2.2-1ubuntu0.1 USN-5585-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI notebook < 5.5.0rc1 5.5.0rc1 GHSA-jqwc-jm56-wcwj
PyPI notebook < 5.5.0 5.5.0 PYSEC-2019-157

Advisories 2

References