CVE-2018-19351

medium
Published 2018-11-21 · Modified 2023-11-08
CVSS v3
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v2
VIR risk
5.5

Description

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2018-19351

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-201812-1

OS impact

OSVersionStatusFixed in
arch archfixed5.7.2-1
debian debianbookwormfixed5.7.4-1
debian debianbullseyefixed5.7.4-1
debian debianforkyfixed5.7.4-1
debian debiansidfixed5.7.4-1
debian debiantrixiefixed5.7.4-1

Package impact

EcosystemPackageVulnerableFixed
python PyPInotebook<5.7.15.7.1
python PyPInotebook<107a89fce5f413fb5728c1c5d2c7788e1fb17491||<5.7.1107a89fce5f413fb5728c1c5d2c7788e1fb17491

References

Verify integrity in audit chain (admin only). AS-IS.