CVE-2019-9644 — jupyter-notebook
MEDIUMCVE-2019-9644 is a medium-severity (CVSS 5.4) Cross-site Scripting (XSS) vulnerability in jupyter-notebook. A fix is available for jupyter-notebook — see the affected versions and patch details below.
Improper Neutralization of Input During Web Page Generation in Jupyter Notebook
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
jupyter-notebook🐍notebookReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
An XSSI (cross-site inclusion) vulnerability in Jupyter Notebook before 5.7.6 allows inclusion of resources on malicious pages when visited by users who are authenticated with a Jupyter server. Access to the content of resources has been demonstrated with Internet Explorer through capturing of error messages, though not reproduced with other browsers. This occurs because Internet Explorer's error messages can include the content of any invalid JavaScript that was encountered.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | jupyter-notebook | all versions | 5.7.6pip install --upgrade 'jupyter-notebook==5.7.6' |
| 🐍PyPI | notebook | all versions | 5.7.6pip install --upgrade 'notebook==5.7.6' |
Affected Products
notebookjupyterDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for jupyter-notebook, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update jupyter-notebook to 5.7.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2019-9644 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is CVE-2019-9644 in your dependencies?
Find it across PyPI, including transitive dependencies.