pypi package report

Is jupyter-server safe?

15 known vulnerabilities, worst severity CRITICAL.

// reach

36 direct dependencies

7 carry known advisories, worst CRITICAL

51 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

No published models are known to use this package.


cvss
0.0
critical

severity out of 10

epss
0.00%
medium

chance of exploitation in 30 days, 37th percentile of all CVEs

xyz score
0.0
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-fcw5-x6j4-ccmp, the advisory selected below

// 15 advisories

GHSA-fcw5-x6j4-ccmp

CRITICALCVE-2026-44727

The nbconvert HTTP handlers in jupyterserver 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 displaydata output triggers stored XSS with cookie access, full /api/ authority, and kernel RCE.

// impact

An authenticated victim who navigates to /nbconvert/html/ containing attacker-authored output can have their token exfiltrated to another domain because it is executed in the Jupyter origin.

// patches

Fixed in v2.20.0, commit 6cbee8d

// workarounds

For deployments where editing the installed jupyterserver is impractical (containerized builds, read-only images), adding this to jupyterserverconfig.py has the same effect as the patch above without touching source files:

import jupyter_server.nbconvert.handlers as _nb

def _csp(self):
    return super(type(self), self).content_security_policy + "; sandbox allow-scripts"

_nb.NbconvertFileHandler.content_security_policy = property(_csp)
_nb.NbconvertPostHandler.content_security_policy = property(_csp)
// cvss v3.1 vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Checked 2026-10-23 at 18:53 UTC. The most recent advisory here was published 2026-10-22. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.