Jupyter_Server XSS & Kernel RCE via unsandboxed HTML Export, fixed in 2.20
CVE-2026-44727 Published on June 22, 2026

Jupyter Server: Stored XSS in `NbconvertFileHandler` / `NbconvertPostHandler` via missing `sandbox` CSP
Jupyter Server is the backend for Jupyter web applications. Prior to 2.20, the nbconvert HTTP handlers in jupyter_server render user-authored notebook HTML under the Jupyter origin without a sandbox directive in their Content-Security-Policy. Combined with nbconvert.HTMLExporter's default non-sanitizing behavior, a notebook carrying an HTML payload in a display_data output triggers stored XSS with cookie access, full /api/* authority, and kernel RCE. This vulnerability is fixed in 2.20.

NVD

Weakness Types

What is a XSS Vulnerability?

The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

CVE-2026-44727 has been classified to as a XSS vulnerability or weakness.

What is a Clickjacking Vulnerability?

The web application does not restrict or incorrectly restricts frame objects or UI layers that belong to another application or domain, which can lead to user confusion about which interface the user is interacting with. A web application is expected to place restrictions on whether it is allowed to be rendered within frames, iframes, objects, embed or applet elements. Without the restrictions, users can be tricked into interacting with the application when they were not intending to.

CVE-2026-44727 has been classified to as a Clickjacking vulnerability or weakness.


Products Associated with CVE-2026-44727

Want to know whenever a new CVE is published for Jupyter Server? stack.watch will email you.

 

Affected Versions

jupyter-server jupyter_server Version < 2.20 is affected by CVE-2026-44727