Jupyter Notebook XSS via untrusted notebooks
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.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | notebook | < 5.7.1 | 5.7.1 |
Referencias
- https://pypi.org/project/notebook/#history
- https://groups.google.com/forum/#!topic/jupyter/hWzu2BSsplY
- https://github.com/jupyter/notebook/commit/107a89fce5f413fb5728c1c5d2c7788e1fb17491
- https://github.com/jupyter/notebook/blob/master/docs/source/changelog.rst
- https://lists.debian.org/debian-lts-announce/2020/11/msg00033.html
- https://github.com/advisories/GHSA-49qr-xh3w-h436
- https://nvd.nist.gov/vuln/detail/CVE-2018-19351
- https://github.com/jupyter/notebook
- https://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2018-17.yaml
- Vector CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Debilidad (CWE)
CWE-79- Plataforma
- Python (PyPI)
- Paquete
notebook- Publicada
- 18.11.2018
- Actualizado
- 11.10.2026 11:20
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2018-17 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-49qr-xh3w-h436 - CC BY 4.0
Historial de vulnerabilidades: notebook
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 21
- Primera → última
- 09.2015 10.2026
- Sin corrección
- 0
- Explotada en ataques
- 0
Distribución por gravedad
- Crítica 1
- Alta 8
- Media 11
- Baja 1
Divulgaciones por año
- 2017: 0
- 2018: 3
- 2019: 4
- 2020: 1
- 2021: 2
- 2022: 2
- 2023: 0
- 2024: 3
- 2025: 0
- 2026: 4
antes: 2
-
Jupyter Notebook XSS via untrusted notebooks esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.