CVEvulnerability
CVE-2021-32797
9.6 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2021-08-09
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.4 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
- CVSS 3.1 ([email protected])
- 9.6 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-79
Description
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.
Affected configurations
• jupyter jupyterlab (< 1.2.21)
• jupyter jupyterlab (>= 2.0.0 < 2.2.10)
• jupyter jupyterlab (>= 2.3.0 < 2.3.2)
• jupyter jupyterlab (>= 3.0.0 < 3.0.17)
• jupyter jupyterlab (>= 3.1.0 < 3.1.4)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed Exploit, Third Party Advisory
- https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx Third Party Advisory
- https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed Exploit, Third Party Advisory
- https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx Third Party Advisory