9.7

CVE-2024-35225: jupyter jupyter_server_proxy Cross-site Scripting

CVSS: 9.7v3.1CriticalAnalyzed
AliasesGHSA-fvcq-4x64-hqxrPYSEC-2024-236
Published 11-06-2024Last modified 02-08-2024

Vulnerability summary

CVE-2024-35225 is a critical (CVSS 9.7) Cross-site Scripting vulnerability in jupyter jupyter_server_proxy. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 37.4% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.7/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.45%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 11-06-2024
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.45%

Chance of exploitation in the next 30 days

Percentile

37%

Versus all other CVEs

30-day change

0.00 pp

From 0.45% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.45%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Jupyter1 product
Jupyterhub1 product
PyPI1 product
  • jupyter-server-proxy≥ 3.0.0, < 3.2.4 | ≥ 4.0.0, < 4.2.0 | < ff78128087e73fb9d0909e1366f8bf051e8ea878 | ≥ 4.1.2, < 4.2.0

3 vendors · 3 products

References

8 links