Loading
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.
Use CWE-79, Jupyter vendor hub and Notebook product page to widen CVE-2018-19351 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2021-32798, CVE-2024-43805 and CVE-2024-22421 for nearby disclosures in the same product family.