Skip to content
OpenAdvisories
High · 8.1 CVE-2024-28233 BIT-jupyterhub-2024-28233EUVD-2024-0861GHSA-7r3h-4ph8-w38gPYSEC-2026-1480

XSS in JupyterHub via Self-XSS leveraged by Cookie Tossing

Published Mar 27, 2024 · Updated Aug 15, 2024 · Assigned by GitHub_M

Description

JupyterHub is an open source multi-user server for Jupyter notebooks. By tricking a user into visiting a malicious subdomain, the attacker can achieve an XSS directly affecting the former's session. More precisely, in the context of JupyterHub, this XSS could achieve full access to JupyterHub API and user's single-user server. The affected configurations are single-origin JupyterHub deployments and JupyterHub deployments with user-controlled applications running on subdomains or peer subdomains of either the Hub or a single-user server. This vulnerability is fixed in 4.1.0.

Affected products

VendorProductAffectedFixed
jupyterhub jupyterhub < 4.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jupyterhub 5.0.0+ds1-1 —
Debian 13 jupyterhub 5.0.0+ds1-1 —
Debian 12 jupyterhub No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 jupyterhub No fix yet —
Ubuntu 26.04 LTS jupyterhub No fix yet —
Ubuntu 25.10 jupyterhub No fix yet —
Ubuntu 24.04 LTS jupyterhub No fix yet —
Ubuntu 22.04 LTS jupyterhub No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI jupyterhub < 4.1.0 4.1.0 GHSA-7r3h-4ph8-w38g

References