XSS in Jupyter Jupyterlab
CVE-2021-32797
JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook. In affected versions untrusted notebook can execute code on load. In particular JupyterLab doesn’t sanitize the action attribute of html `<form>`. Using this it is possible to trigger the form validation outside of the form itself. This is a remote code execution, but requires user action to open a notebook.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.027, 85.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Jupyter Jupyterlab
- Jupyterlab — versions >= 3.1.0, < 3.1.4, >= 3.0.0, < 3.0.17, >= 2.3.0, < 2.3.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cvemon, aryanxsh/example-vulnerable-repo, EGI-Federation/SVG-advisories, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx (Third Party Advisory)
- github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed (Exploit, Third Party Advisory)