JupyterGHSA-6cwv-x26c-w2q4
Jupyter Notebook file bypasses sanitization, executes JavaScript
Fix: upgrade to 5.4.1 or later
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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| notebook PyPI | < 5.4.1 | 5.4.1 |
Details and references
- CVSS 3.0
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Severity from
- GitHub (reviewed advisory)
- Also known as
- CVE-2018-8768, PYSEC-2018-57