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.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 85th percentile — 85.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.027 · newest: 0.027 · change: 0.000
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 proof-of-concept exploits
References
- github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx (Third Party Advisory)
- github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-32797?
- CVE-2021-32797 is a high-severity vulnerability in Jupyter Jupyterlab, classified under Cross-site Scripting. CVSS score: 7.4/10. Published 2021-08-09.
- How severe is CVE-2021-32797?
- High severity. CVSS v3 base score is 7.4 out of 10.
- Is CVE-2021-32797 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.