XSS in JupyterHub via Self-XSS leveraged by Cookie Tossing
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Tampering, Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-352 and CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| jupyterhub | jupyterhub | before 4.1.0 | 4.1.0 | Patch available | CNA |
| — | jupyterhub (PyPI) | before 4.1.0 | 4.1.0 | Patch available | GHSA-7r3h-4ph8-w38g |
- jupyterhub Vendorjupyterhub Affected before 4.1.0 Fixed in 4.1.0 Patch available CNA
- jupyterhub (PyPI) Vendor— Affected before 4.1.0 Fixed in 4.1.0 Patch available GHSA-7r3h-4ph8-w38g
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:jupyter:jupyterhub:*:*:*:*:*:*:*:* | before 4.1.0 | Vulnerable | jupyterlab |
- cpe:2.3:a:jupyter:jupyterhub:*:*:*:*:*:*:*:* Versions before 4.1.0 Vulnerable ·jupyterlab
Remediation
- Fix · CNA jupyterhub (jupyterhub) Fixed in 4.1.0
- Fix · GHSA-7r3h-4ph8-w38g jupyterhub (PyPI) Fixed in 4.1.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-28233
- 2026-10-03 Alias added: GHSA-7r3h-4ph8-w38g
References
More jupyterhub vulnerabilities
- TI-2025-23499 Jupyter Remote Desktop Proxy makes TigerVNC accessible via the network and not just via a UNIX socket as intended CVSS 4.0CRITICAL 9.0
- TI-2023-10877 JupyterHub's LTI13Authenticator: JWT signature not validated CVSS 3.1CRITICAL 10.0
- TI-2021-16545 Remote code execution in Binderhub CVSS 3.1CRITICAL 9.8
- TI-2021-18033 Improper Access Control in jupyterhub-firstuseauthenticator CVSS 3.1CRITICAL 9.8
- TI-2021-16546 Code injection in nbgitpuller CVSS 3.1CRITICAL 9.6
- TI-2024-18755 Jupyter Server Proxy's Websocket Proxying does not require authentication CVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-28233 · CVE Program
- CVE-2024-28233 · NVD
- FIRST EPSS
- GHSA-7r3h-4ph8-w38g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences