CVE-2024-35225

Jupyter Server Proxy has a reflected XSS issue in host parameter

MEDIUM
6.1
CVSS Score
Published: June 11, 2024 at 09:45 PM UTC
Updated: June 17, 2026 at 07:34 AM UTC
2 products affected across 2 vendorsJupyter Server ProxyJupyter Server Proxy

Using jupyter-server-proxy by jupyterhub?

Get instant alerts when new vulnerabilities affect jupyter-server-proxy - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

Jupyter Server Proxy allows users to run arbitrary external processes alongside their notebook server and provide authenticated web access to them. Versions of 3.x prior to 3.2.4 and 4.x prior to 4.2.0 have a reflected cross-site scripting (XSS) issue. The `/proxy` endpoint accepts a `host` path segment in the format `/proxy/<host>`. When this endpoint is called with an invalid `host` value, `jupyter-server-proxy` replies with a response that includes the value of `host`, without sanitization [2]. A third-party actor can leverage this by sending a phishing link with an invalid `host` value containing custom JavaScript to a user. When the user clicks this phishing link, the browser renders the response of `GET /proxy/<host>`, which runs the custom JavaScript contained in `host` set by the actor. As any arbitrary JavaScript can be run after the user clicks on a phishing link, this issue permits extensive access to the user's JupyterLab instance for an actor. Patches are included in versions 4.2.0 and 3.2.4. As a workaround, server operators who are unable to upgrade can disable the `jupyter-server-proxy` extension.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.2.4v < 4.2.03.0.0 ≤ v < 3.2.44.1.2 ≤ v < 4.2.04.0.0
Affected range stops below 3.2.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.2.0, so it looks safe — our inference, not a vendor statement
v < 3.2.4v < 4.2.03.0.0
Affected range stops below 3.2.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.2.0, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-79CWE-116

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card