jupyter/notebook · Security
Jupyter Notebook file bypasses sanitization, executes JavaScript
- GHSA ID
- GHSA-6cwv-x26c-w2q4
- CVE ID
- CVE-2018-8768
- Severity
- high
- Published
- Updated
- CVSS
- 7.8 · CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS v3
- 7.8 · CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS v4
- 8.4 · CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-8768 ↗
- https://lists.debian.org/debian-lts-announce/2020/11/msg00033.html ↗
- http://openwall.com/lists/oss-security/2018/03/15/2 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2018-57.yaml ↗
- https://github.com/advisories/GHSA-6cwv-x26c-w2q4 ↗