Stored XSS and Remote Code Execution in Jupyter Server
CVE-2026-44727
9.3CRITICAL
What is CVE-2026-44727?
Jupyter Server's handling of user-authored notebook HTML prior to version 2.20 in its nbconvert HTTP handlers poses significant security risks. The absence of a proper sandbox directive within the Content-Security-Policy coupled with nbconvert.HTMLExporter's default non-sanitizing behavior enables an attacker to exploit notebooks containing malicious HTML payloads. This exploitation can lead to stored XSS, allowing unauthorized access to cookies and full authority over API endpoints, as well as the potential for kernel remote code execution. The vulnerability has been addressed in version 2.20, mitigating these risks.
Affected Version(s)
jupyter_server < 2.20
