Skip to content
OpenAdvisories
High · 7.8 CVE-2018-8768 EUVD-2018-0106GHSA-6cwv-x26c-w2q4PYSEC-2018-57

Jupyter Notebook file bypasses sanitization, executes JavaScript

Published Mar 18, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

In Jupyter Notebook before 5.4.1, a maliciously forged notebook file can bypass sanitization to execute JavaScript in the notebook context. Specifically, invalid HTML is 'fixed' by jQuery after sanitization, making it dangerous.

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 ipython 5.1.0-2 —
Debian 14 jupyter-notebook 5.4.1-1 —
Debian 13 ipython 5.1.0-2 —
Debian 13 jupyter-notebook 5.4.1-1 —
Debian 12 ipython 5.1.0-2 —
Debian 12 jupyter-notebook 5.4.1-1 —
Debian 9 jupyter-notebook 4.2.3-4+deb9u1 DLA-2432-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS ipython 2.4.1-1ubuntu0.1~esm2 USN-4855-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI notebook < 5.4.1 5.4.1 GHSA-6cwv-x26c-w2q4

Advisories 2

References