GitHub Advisory Database
GHSA-6cwv-x26c-w2q4
Jupyter Notebook file bypasses sanitization, executes JavaScript
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | notebook | All versions before 5.4.1 (fixed in 5.4.1) |