Loading advisory.
Loading advisory.
Special Element Injection in notebook
Untrusted notebook can execute code on load. This is a remote code execution, but requires user action to open a notebook.
Published 2021-08-09 20:50 UTC · Modified 2026-09-10 03:49 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| notebook | PyPI | < 5.7.11 >= 6.0.0, < 6.4.1 git commits in https://github.com/jupyter/notebook: < 79fc76e890a8ec42f73a3d009e44ef84c14ef0d5 >= 5.7.0, < 5.7.11 versions 0.0.0, 4.0.0, 4.0.1, 4.0.2, 4.0.4, 4.0.5, 4.0.6, 4.1.0, 4.2.0, 4.2.0b1, 4.2.1, 4.2.2, 4.2.3, 4.3.0, 4.3.1, 4.3.2, 4.4.0, 4.4.1, 5.0.0, 5.0.0b1 and 49 more | 5.7.11, 6.4.1, 79fc76e890a8ec42f73a3d009e44ef84c14ef0d5 | pip install --upgrade 'notebook>=5.7.11'pip install --upgrade 'notebook>=6.4.1'pip install --upgrade 'notebook>=79fc76e890a8ec42f73a3d009e44ef84c14ef0d5' |
Untrusted notebook can execute code on load. This is a remote code execution, but requires user action to open a notebook.
5.7.11, 6.4.1
OWASP Page on Injection Prevention
If you have any questions or comments about this advisory, or vulnerabilities to report, please email our security list security@ipython.org.
Credit: Guillaume Jeanne from Google
A notebook with the following content in a cell and it would display an alert when opened for the first time in Notebook (in an untrusted state):
{ "cell_type": "code", "execution_count": 0, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<select><iframe></select><img src=x: onerror=alert('xss')>\n"], "text/plain": [] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "" ] }No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.021 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.021 | first score | v2026.06.15 |