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 v4 NEW
โ€”
not yet in upstream
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

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

arch Arch Fixed 1 release
VersionStatusFixed in
โ€” Fixed 5.7.2-1
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 5.7.4-1
sid Fixed 5.7.4-1
forky Fixed 5.7.4-1
bullseye Fixed 5.7.4-1
bookworm Fixed 5.7.4-1

Package impact

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

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

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