The issue arises from the lack of a Content Security Policy (CSP) header, which is used to define what sources of content are allowed to be executed within a web page. Without this header, files served by Jupyter Notebook are not treated as belonging to a separate origin, making them vulnerable to cross-site scripting (XSS) attacks. For instance, an XSS payload can be embedded in an SVG document.