XSS in JupyterHub via Self-XSS leveraged by Cookie Tossing
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-28233
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 19:10 UTC · Revision 1
Source evidence
XSS in JupyterHub via Self-XSS leveraged by Cookie Tossing
core-osv · Original sourcePublished 27 Mar 2024, 18:16 UTC
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.
osv:CVE-2024-28233
Complete source record
{
"id": "2a38e05f4f4c80925133c9e32c217a64a44ba6d480c7aa6756c7cb7663edb949",
"url": "https://osv.dev/vulnerability/CVE-2024-28233",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "XSS in JupyterHub via Self-XSS leveraged by Cookie Tossing",
"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.",
"evidence": "osv:CVE-2024-28233",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-28233",
"aliases": [
"BIT-jupyterhub-2024-28233",
"CVE-2024-28233",
"GHSA-7r3h-4ph8-w38g",
"PYSEC-2026-1480"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jupyterhub/jupyterhub",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "984a67932ffcd2a1024c7f23636f7e34e7df33ac"
},
{
"fixed": "e2798a088f5ad45340fe79cdf1386198e664f77f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:jupyter:jupyterhub:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.1.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "e2798a088f5ad45340fe79cdf1386198e664f77f"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"4.0.2",
"4.0.1",
"4.0.0",
"4.0.0b2",
"4.0.0b1",
"3.1.0",
"3.0.0",
"3.0.0b1",
"2.2.2",
"2.2.1",
"2.2.0",
"2.1.1",
"2.1.0",
"2.0.2",
"2.0.1",
"2.0.0",
"2.0.0rc5",
"2.0.0rc4",
"2.0.0rc3",
"2.0.0rc2",
"2.0.0rc1",
"2.0.0b3",
"2.0.0b2",
"2.0.0b1",
"1.4.0",
"1.3.0",
"1.2.1",
"1.0.0",
"1.2.0",
"1.2.0b1",
"1.1.0",
"1.1.0b1",
"1.0.0b2",
"1.0.0b1",
"0.9.2",
"0.9.1",
"0.9.0",
"0.9.0rc1",
"0.9.0b3",
"0.9.0b2",
"0.9.0b1",
"0.8.1",
"0.8.0",
"0.8.0rc2",
"0.8.0rc1",
"0.8.0b5",
"0.8.0b4",
"0.8.0b3",
"0.8.0b2",
"0.8.0b1",
"0.7.2",
"0.7.1",
"0.7.0",
"0.6.1",
"0.6.0",
"0.5.0",
"0.4.1",
"0.4.0",
"0.3.0",
"0.2.0",
"0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-28233.json"
}
}
],
"modified": "2026-10-28T02:30:38.598442688Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28233.json",
"https://github.com/jupyterhub/jupyterhub/security/advisories/GHSA-7r3h-4ph8-w38g",
"https://nvd.nist.gov/vuln/detail/CVE-2024-28233",
"https://github.com/jupyterhub/jupyterhub/commit/e2798a088f5ad45340fe79cdf1386198e664f77f"
],
"provider_metadata": {
"cwe_ids": [
"CWE-352",
"CWE-565",
"CWE-79"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28233.json"
}
},
"related_cves": [
{
"value": "CVE-2024-28233",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 506019,
"published_at": "2024-03-27T18:16:24.308+00:00"
}