logo

CVE-2018-19351 notebook

Package

Manager: pip
Name: notebook
Vulnerable Version: >=0 <5.7.1

Severity

Level: Medium

CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

EPSS: 0.0041 pctl0.60598

Details

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.

Metadata

Created: 2018-11-21T22:15:47Z
Modified: 2024-09-27T19:47:55Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/11/GHSA-49qr-xh3w-h436/GHSA-49qr-xh3w-h436.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-49qr-xh3w-h436
Finding: F008
Auto approve: 1