Advisory

GHSA-6cwv-x26c-w2q4

Also known as: CVE-2018-8768, PYSEC-2018-57

Summary

Jupyter Notebook file bypasses sanitization, executes JavaScript

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-07-12 12:00 UTC
Modified
2024-12-07 05:39 UTC

Affected packages and fixes

notebook

PyPI · All systems

Affected

  • introduced 0, fixed 5.4.1 (ecosystem)

Fixed versions

5.4.1

Fix

  • Fixed version 5.4.1
    pip install --upgrade notebook==5.4.1

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