CVE-2018-8768
HIGH 7.8CVSS 3.0Jupyter Notebook file bypasses sanitization, executes JavaScript
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.
- Published
- 18 Mar 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Also known as
- GHSA-6cwv-x26c-w2q4PYSEC-2018-57
- Sources
- NVDJSONOSV GHSA-6cwv-x26c-w2q4JSONOSV PYSEC-2018-57JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jupyter | notebookcpe:2.3:a:jupyter:notebook:*:*:*:*:*:*:*:* |
< 5.4.1 | 5.4.1 |
| OSV | PyPI | notebook | < 5.4.1 | 5.4.1 |
References
- http://openwall.com/lists/oss-security/2018/03/15/2 · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2020/11/msg00033.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-8768 · ADVISORY
- https://github.com/jupyter/notebook · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2018-57.yaml · WEB
- https://github.com/advisories/GHSA-6cwv-x26c-w2q4 · ADVISORY
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 18 Mar 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Mar 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Jul 2018)