# CVE-2024-28233: XSS in JupyterHub via Self-XSS leveraged by Cookie Tossing

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2024-03-27T18:16:24.308Z
- Modified: 2026-09-10T16:01:01.000Z
- Also known as: GHSA-7r3h-4ph8-w38g, BIT-JUPYTERHUB-2024-28233, PYSEC-2026-1480
- Weaknesses: CWE-79, CWE-352, CWE-565
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- jupyterhub jupyterhub: < 4.1.0; before 4.1.0
- jupyterhub (PyPI): before 4.1.0
- jupyter jupyterhub: before 4.1.0
- jupyterhub (Bitnami): before 4.1.0

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/jupyterhub/jupyterhub/security/advisories/GHSA-7r3h-4ph8-w38g> (advisory, third-party-advisory, web)
- <https://github.com/jupyterhub/jupyterhub/commit/e2798a088f5ad45340fe79cdf1386198e664f77f> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-28233> (advisory, web)
- <https://github.com/jupyterhub/jupyterhub> (package)
- <https://pypi.org/project/jupyterhub> (package)
- <https://github.com/advisories/GHSA-7r3h-4ph8-w38g> (advisory)

## Sources

- CVE List: [CVE-2024-28233](https://www.cve.org/CVERecord?id=CVE-2024-28233), CVE Terms of Use, modified 2024-08-15
- GitHub Advisory Database: [GHSA-7r3h-4ph8-w38g](https://github.com/advisories/GHSA-7r3h-4ph8-w38g), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-28233](https://nvd.nist.gov/vuln/detail/CVE-2024-28233), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1480](https://osv.dev/vulnerability/PYSEC-2026-1480), CC-BY-4.0, modified 2026-07-07
- Bitnami Vulnerability Database: [BIT-JUPYTERHUB-2024-28233](https://osv.dev/vulnerability/BIT-JUPYTERHUB-2024-28233), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2024-28233 · Whole record: https://cve.day/CVE-2024-28233.json · Rebuilt by cve.day 2026-11-25T22:58:38.022Z
