Security mailing lists by PureSourceCode

CVE-2018-8768

HIGH 7.8CVSS 3.0

Jupyter 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jupyter notebook
cpe:2.3:a:jupyter:notebook:*:*:*:*:*:*:*:*
< 5.4.1 5.4.1
OSV PyPI notebook < 5.4.1 5.4.1

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.