Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/notebook@4.2.0
purl pkg:pypi/notebook@4.2.0
Next non-vulnerable version 6.4.12
Latest non-vulnerable version 6.4.12
Risk
Vulnerabilities affecting this package (9)
Vulnerability Summary Fixed by
VCID-3bhm-ewdv-zbeq
Aliases:
CVE-2022-29238
GHSA-v7vq-3x77-87vg
PYSEC-2022-212
Jupyter Notebook is a web-based notebook environment for interactive computing. Prior to version 6.4.12, authenticated requests to the notebook server with `ContentsManager.allow_hidden = False` only prevented listing the contents of hidden directories, not accessing individual hidden files or files in hidden directories (i.e. hidden files were 'hidden' but not 'inaccessible'). This could lead to notebook configurations allowing authenticated access to files that may reasonably be expected to be disallowed. Because fully authenticated requests are required, this is of relatively low impact. But if a server's root directory contains sensitive files whose only protection from the server is being hidden (e.g. `~/.ssh` while serving $HOME), then any authenticated requests could access files if their names are guessable. Such contexts also necessarily have full access to the server and therefore execution permissions, which also generally grants access to all the same files. So this does not generally result in any privilege escalation or increase in information access, only an additional, unintended means by which the files could be accessed. Version 6.4.12 contains a patch for this issue. There are currently no known workarounds.
6.4.12
Affected by 0 other vulnerabilities.
VCID-6y8s-qegb-ekde
Aliases:
CVE-2018-21030
GHSA-jqwc-jm56-wcwj
PYSEC-2019-157
Jupyter Notebook before 5.5.0 does not use a CSP header to treat served files as belonging to a separate origin. Thus, for example, an XSS payload can be placed in an SVG document.
5.5.0
Affected by 7 other vulnerabilities.
VCID-7r44-pfgv-vfhx
Aliases:
CVE-2019-10856
GHSA-rcx2-m7jp-p9wj
PYSEC-2019-158
In Jupyter Notebook before 5.7.8, an open redirect can occur via an empty netloc. This issue exists because of an incomplete fix for CVE-2019-10255.
5.7.8
Affected by 4 other vulnerabilities.
VCID-a5v7-yux3-fqah
Aliases:
CVE-2018-8768
GHSA-6cwv-x26c-w2q4
PYSEC-2018-57
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.
5.4.1
Affected by 8 other vulnerabilities.
VCID-cq6c-5wrp-6uf8
Aliases:
CVE-2018-19351
GHSA-49qr-xh3w-h436
PYSEC-2018-17
Jupyter Notebook before 5.7.1 allows XSS via an untrusted notebook because nbconvert responses are considered to have the same origin as the notebook server. In other words, nbconvert endpoints can execute JavaScript with access to the server API. In notebook/nbconvert/handlers.py, NbconvertFileHandler and NbconvertPostHandler do not set a Content Security Policy to prevent this.
5.7.1
Affected by 7 other vulnerabilities.
VCID-d8dn-ga5x-pyc8
Aliases:
CVE-2019-9644
GHSA-hhx8-cr55-qcxx
PYSEC-2019-159
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.
5.7.6
Affected by 5 other vulnerabilities.
VCID-ng3p-zbry-8fer
Aliases:
CVE-2018-19352
GHSA-3p4q-x8f3-p7vq
PYSEC-2018-18
Jupyter Notebook before 5.7.2 allows XSS via a crafted directory name because notebook/static/tree/js/notebooklist.js handles certain URLs unsafely.
5.7.2
Affected by 6 other vulnerabilities.
VCID-ts53-zf55-zkcn
Aliases:
CVE-2022-24758
GHSA-m87f-39q9-6f55
PYSEC-2022-180
The Jupyter notebook is a web-based notebook environment for interactive computing. Prior to version 6.4.9, unauthorized actors can access sensitive information from server logs. Anytime a 5xx error is triggered, the auth cookie and other header values are recorded in Jupyter server logs by default. Considering these logs do not require root access, an attacker can monitor these logs, steal sensitive auth/cookie information, and gain access to the Jupyter server. Jupyter notebook version 6.4.x contains a patch for this issue. There are currently no known workarounds.
6.4.10
Affected by 1 other vulnerability.
VCID-v436-yfae-x7d5
Aliases:
CVE-2020-26215
GHSA-c7vm-f5p4-8fqh
PYSEC-2020-215
Jupyter Notebook before version 6.1.5 has an Open redirect vulnerability. A maliciously crafted link to a notebook server could redirect the browser to a different website. All notebook servers are technically affected, however, these maliciously crafted links can only be reasonably made for known notebook server hosts. A link to your notebook server may appear safe, but ultimately redirect to a spoofed server on the public internet. The issue is patched in version 6.1.5.
6.1.5
Affected by 2 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-02T04:17:23.657766+00:00 Pypa Importer Affected by VCID-3bhm-ewdv-zbeq https://github.com/pypa/advisory-database/blob/main/vulns/notebook/PYSEC-2022-212.yaml 38.6.0
2026-06-02T04:17:16.159261+00:00 Pypa Importer Affected by VCID-ts53-zf55-zkcn https://github.com/pypa/advisory-database/blob/main/vulns/notebook/PYSEC-2022-180.yaml 38.6.0
2026-06-02T04:07:56.352001+00:00 Pypa Importer Affected by VCID-v436-yfae-x7d5 https://github.com/pypa/advisory-database/blob/main/vulns/notebook/PYSEC-2020-215.yaml 38.6.0
2026-06-02T04:05:55.725838+00:00 Pypa Importer Affected by VCID-6y8s-qegb-ekde https://github.com/pypa/advisory-database/blob/main/vulns/notebook/PYSEC-2019-157.yaml 38.6.0
2026-06-02T04:05:35.722194+00:00 Pypa Importer Affected by VCID-7r44-pfgv-vfhx https://github.com/pypa/advisory-database/blob/main/vulns/notebook/PYSEC-2019-158.yaml 38.6.0
2026-06-02T04:05:33.954690+00:00 Pypa Importer Affected by VCID-d8dn-ga5x-pyc8 https://github.com/pypa/advisory-database/blob/main/vulns/notebook/PYSEC-2019-159.yaml 38.6.0
2026-06-02T04:05:25.639905+00:00 Pypa Importer Affected by VCID-ng3p-zbry-8fer https://github.com/pypa/advisory-database/blob/main/vulns/notebook/PYSEC-2018-18.yaml 38.6.0
2026-06-02T04:05:25.442353+00:00 Pypa Importer Affected by VCID-cq6c-5wrp-6uf8 https://github.com/pypa/advisory-database/blob/main/vulns/notebook/PYSEC-2018-17.yaml 38.6.0
2026-06-02T04:05:03.428685+00:00 Pypa Importer Affected by VCID-a5v7-yux3-fqah https://github.com/pypa/advisory-database/blob/main/vulns/notebook/PYSEC-2018-57.yaml 38.6.0