{"schemaVersion":4,"id":"CVE-2024-35225","aliases":["GHSA-fvcq-4x64-hqxr","PYSEC-2024-236"],"status":"published","duplicateOf":null,"title":"Jupyter Server Proxy has a reflected XSS issue in host parameter","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.","dates":{"published":"2024-06-11T21:45:57.596Z","modified":"2024-08-02T03:07:46.821Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.7,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.7,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00442,"percentile":0.40219,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":-0.0040000000000000105,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00446},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00848,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00848,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00848,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00848,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00848,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00848,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00442,"percentile":0.40219}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00446,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00848,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00848,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00848,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00848,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00848,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00848,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00442,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00442,"percentile":0.40219}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output","description":"The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/116.html"}],"affected":[{"vendor":"jupyter","product":"jupyter_server_proxy","name":"jupyter server proxy","label":"jupyter_server_proxy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0.0, < 3.2.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.0.0","startInclusive":true,"end":"3.2.4","endInclusive":false}},{"text":"≥ 4.1.2, < 4.2.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.1.2","startInclusive":true,"end":"4.2.0","endInclusive":false}}],"versionsText":"≥ 3.0.0, < 3.2.4 | ≥ 4.1.2, < 4.2.0","eol":null,"hubHref":"/vendor/jupyter/jupyter_server_proxy"},{"vendor":"jupyterhub","product":"jupyter-server-proxy","name":"jupyter-server-proxy","label":"jupyter-server-proxy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0.0, < 3.2.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.0.0","startInclusive":true,"end":"3.2.4","endInclusive":false}},{"text":"≥ 4.0.0, < 4.2.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0.0","startInclusive":true,"end":"4.2.0","endInclusive":false}}],"versionsText":"≥ 3.0.0, < 3.2.4 | ≥ 4.0.0, < 4.2.0","eol":null,"hubHref":"/vendor/jupyterhub/jupyter-server-proxy"},{"vendor":"PyPI","product":"jupyter-server-proxy","name":"jupyter-server-proxy","label":"jupyter-server-proxy","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/jupyter-server-proxy","purlType":"pypi","versions":[{"text":"≥ 3.0.0, < 3.2.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.0.0","startInclusive":true,"end":"3.2.4","endInclusive":false}},{"text":"≥ 4.0.0, < 4.2.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0.0","startInclusive":true,"end":"4.2.0","endInclusive":false}},{"text":"< ff78128087e73fb9d0909e1366f8bf051e8ea878","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"ff78128087e73fb9d0909e1366f8bf051e8ea878","endInclusive":false}},{"text":"≥ 4.1.2, < 4.2.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.1.2","startInclusive":true,"end":"4.2.0","endInclusive":false}}],"versionsText":"≥ 3.0.0, < 3.2.4 | ≥ 4.0.0, < 4.2.0 | < ff78128087e73fb9d0909e1366f8bf051e8ea878 | ≥ 4.1.2, < 4.2.0","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/jupyterhub/jupyter-server-proxy/security/advisories/GHSA-fvcq-4x64-hqxr","label":"github.com/jupyterhub/jupyter-server-proxy/security/advisories/GHSA-fvcq-4x64-hqxr","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Vendor Advisory"]},{"url":"https://github.com/jupyterhub/jupyter-server-proxy/commit/7abc9dc5bbb0b4b440548a5375261b8b8192fc22","label":"github.com/jupyterhub/jupyter-server-proxy/commit/7abc9dc5bbb0b4b440548a5375261b8b8192fc22","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://github.com/jupyterhub/jupyter-server-proxy/commit/ff78128087e73fb9d0909e1366f8bf051e8ea878","label":"github.com/jupyterhub/jupyter-server-proxy/commit/ff78128087e73fb9d0909e1366f8bf051e8ea878","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://github.com/jupyterhub/jupyter-server-proxy/blob/62a290f08750f7ae55a0c29ca339c9a39a7b2a7b/jupyter_server_proxy/handlers.py#L328","label":"github.com/jupyterhub/…","hostname":"github.com","tags":["X Refsource MISC","WEB","Product"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35225","label":"nvd.nist.gov/vuln/detail/CVE-2024-35225","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/jupyterhub/jupyter-server-proxy","label":"github.com/jupyterhub/jupyter-server-proxy","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-server-proxy/PYSEC-2024-236.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/jupyter-server-proxy/PYSEC-2024-236.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-fvcq-4x64-hqxr","label":"github.com/advisories/GHSA-fvcq-4x64-hqxr","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-06-11T21:45:57.596Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T03:07:46.821Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 9.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,0,97],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00442,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2024-08-02T03:07:46.821Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_pypi","date":"2024-08-02T03:07:46.821Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-08-02T03:07:46.821Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2024-06-12T13:21:20.105Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00442,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T09:01:26.874Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T09:01:27.430Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T09:01:27.610Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T09:01:02.756Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T09:01:25.188Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T09:01:24.136Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T10:02:24.868Z","stale":false,"partial":false}}