Skip to content

CVE-2024-35225 Jupyter Server Proxy has a reflected XSS issue in host parameter

MediumCVSS 6.1 EPSS 0.44%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

4 packages: 2 fixed.

PackageAffectedFixed inStatus
jupyter server proxy < 3.2.4; < 4.2.0; = 4.0.0; >= 3.0.0, < 3.2.4 +1 more 3.2.4, 4.2.0 Fixed
pypi jupyter-server-proxy(PyPI) = 3.0.0; = 3.0.1; = 3.0.2; = 3.1.0 +48 more 3.2.4, 4.2.0 Fixed
jupyterhub jupyter server proxy = 3.0.0 No fix listed Versions listed
jupyterhub jupyter-server-proxy = >= 3.0.0, < 3.2.4; = >= 4.0.0, < 4.2.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi jupyter-server-proxy(PyPI) >= 3.0.0, < 3.2.4 3.2.4
pypi jupyter-server-proxy(PyPI) = 3.0.0 No fix listed
pypi jupyter-server-proxy(PyPI) = 3.0.1 No fix listed
pypi jupyter-server-proxy(PyPI) = 3.0.2 No fix listed
pypi jupyter-server-proxy(PyPI) = 3.1.0 No fix listed
pypi jupyter-server-proxy(PyPI) = 3.2.0 No fix listed
pypi jupyter-server-proxy(PyPI) = 3.2.1 No fix listed
pypi jupyter-server-proxy(PyPI) = 3.2.2 No fix listed
pypi jupyter-server-proxy(PyPI) = 3.2.3 No fix listed
pypi jupyter-server-proxy(PyPI) >= 4.0.0, < 4.2.0 4.2.0
pypi jupyter-server-proxy(PyPI) = 4.0.0 No fix listed
pypi jupyter-server-proxy(PyPI) = 4.1.0 No fix listed
pypi jupyter-server-proxy(PyPI) = 4.1.1 No fix listed
pypi jupyter-server-proxy(PyPI) = 4.1.2 No fix listed
pypi jupyter-server-proxy(PyPI) >= 4.1.2, < 4.2.0 4.2.0
pypi jupyter-server-proxy(PyPI) = v3.2.3 No fix listed
pypi jupyter-server-proxy(PyPI) = v4.1.2 No fix listed
pypi jupyter-server-proxy(PyPI) = v4.1.1 No fix listed
pypi jupyter-server-proxy(PyPI) = v3.2.2 No fix listed
pypi jupyter-server-proxy(PyPI) = v4.1.0 No fix listed
pypi jupyter-server-proxy(PyPI) = v4.0.0 No fix listed
pypi jupyter-server-proxy(PyPI) = v3.2.1 No fix listed
pypi jupyter-server-proxy(PyPI) = v3.2.0 No fix listed
pypi jupyter-server-proxy(PyPI) = v3.0.2 No fix listed
pypi jupyter-server-proxy(PyPI) = v3.0.1 No fix listed
Show 35 more
ProductAffected versionsFixed in
pypi jupyter-server-proxy(PyPI) = v3.0.0 No fix listed
pypi jupyter-server-proxy(PyPI) = v3.0.0-rc.1 No fix listed
pypi jupyter-server-proxy(PyPI) = v1.6.0 No fix listed
pypi jupyter-server-proxy(PyPI) = v1.5.3 No fix listed
pypi jupyter-server-proxy(PyPI) = v1.5.2 No fix listed
pypi jupyter-server-proxy(PyPI) = v1.5.0 No fix listed
pypi jupyter-server-proxy(PyPI) = v1.4.0 No fix listed
pypi jupyter-server-proxy(PyPI) = v1.3.2 No fix listed
pypi jupyter-server-proxy(PyPI) = v1.3.1 No fix listed
pypi jupyter-server-proxy(PyPI) = v1.3.0 No fix listed
pypi jupyter-server-proxy(PyPI) = v1.1.0 No fix listed
pypi jupyter-server-proxy(PyPI) = v1.0.1 No fix listed
pypi jupyter-server-proxy(PyPI) = v0.8.8 No fix listed
pypi jupyter-server-proxy(PyPI) = v0.8.7 No fix listed
pypi jupyter-server-proxy(PyPI) = v0.8.6 No fix listed
pypi jupyter-server-proxy(PyPI) = v0.8.5 No fix listed
pypi jupyter-server-proxy(PyPI) = v0.8.4 No fix listed
pypi jupyter-server-proxy(PyPI) = v0.8.3 No fix listed
pypi jupyter-server-proxy(PyPI) = v0.8.2 No fix listed
pypi jupyter-server-proxy(PyPI) = v0.8.1 No fix listed
pypi jupyter-server-proxy(PyPI) = v0.8.0 No fix listed
pypi jupyter-server-proxy(PyPI) = v0.7.0 No fix listed
pypi jupyter-server-proxy(PyPI) = v0.5.0 No fix listed
pypi jupyter-server-proxy(PyPI) = v0.3.2 No fix listed
pypi jupyter-server-proxy(PyPI) = v0.3.1 No fix listed
pypi jupyter-server-proxy(PyPI) = v0.3.0 No fix listed
pypi jupyter-server-proxy(PyPI) = v0.2.0 No fix listed
jupyterhub jupyter-server-proxy = >= 3.0.0, < 3.2.4 No fix listed
jupyterhub jupyter-server-proxy = >= 4.0.0, < 4.2.0 No fix listed
jupyterhub jupyter server proxy = 3.0.0 No fix listed
jupyter server proxy < 3.2.4 3.2.4
jupyter server proxy = 4.0.0 No fix listed
jupyter server proxy < 4.2.0 4.2.0
jupyter server proxy >= 3.0.0, < 3.2.4 3.2.4
jupyter server proxy >= 4.1.2, < 4.2.0 4.2.0

References