AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

JupyterGHSA-6cwv-x26c-w2q4

Jupyter Notebook file bypasses sanitization, executes JavaScript

Jupyter

CVE-2018-8768 · Published Jul 12, 2018 · updated Dec 7, 2024

High7.8
Fix: upgrade to 5.4.1 or later
GitHub advisory

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

PackageAffectedFixed in
notebook
PyPI
< 5.4.15.4.1
Details and references

More Jupyter advisories

All Jupyter