CVE-2024-35225CWE-116CWE-79

Jupyter Server Proxy has a reflected XSS issue in host parameter

Critical · published June 11, 2024

CVSS v3.1
9.7
EPSS
0%
Percentile
37.8
In the wild
Unconfirmed
What it is

🚨 A reflected XSS flaw in Jupyter Server Proxy could let attackers run arbitrary JavaScript in your notebooks! This is a critical bug you won't want to ignore! 🔥 Think of it like a sneaky chef who slips a secret ingredient into your meal without you noticing. When you take a bite, it changes everything from within, and that ‘ingredient’ could be harmful! An attacker could send a phishing link that, when clicked, allows them to execute malicious JavaScript in the context of your JupyterLab session. This could lead to unauthorized access to sensitive data, manipulation of your work, and potentially devastating consequences for your projects.

Put simply

Think of it like a sneaky chef who slips a secret ingredient into your meal without you noticing. When you take a bite, it changes everything from within, and that ‘ingredient’ could be harmful! This vulnerability arises because the `/proxy` endpoint in Jupyter Server Proxy reflects unsanitized input values, allowing an attacker to inject JavaScript into the response when an invalid host is specified.

What to do

An attacker could send a phishing link that, when clicked, allows them to execute malicious JavaScript in the context of your JupyterLab session. This could lead to unauthorized access to sensitive data, manipulation of your work, and potentially devastating consequences for your projects. Upgrade to Jupyter Server Proxy versions 4.2.0 or 3.2.4 immediately to patch this vulnerability. If upgrading isn't feasible, disable the `jupyter-server-proxy` extension as a temporary workaround. You've got this! By taking these steps, you'll be protecting your Jupyter environment from harm! 🛡️

The record
Technical detail
CVSS v3.1
9.7 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00446 · 37.8th percentile
Weaknesses
CWE-116 · Improper Encoding or Escaping of Output; CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2024-06-11T21:45Z
EPSS history
Timeline
  • 11 JUN 21:45Z
    Jupyter Server Proxy has a reflected XSS issue in host parameter
    cvelistv5