CVE-2021-32797
published high CVSS 3.1 · 7.4JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jupyterlab | — | jupyterlab>= 3.1.0, < 3.1.4 · >= 3.0.0, < 3.0.17 · >= 2.3.0, < 2.3.2 · >= 2.0.0, < 2.2.10 · < 1.2.1 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-15.4 | jupyter-jupyterlabnoarch | Advisory build | 2.2.10-bp154.2.3.1 | OPENSUSE-SU-2022:10075-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | python3-jupyterlabnoarch | Advisory build | 2.2.10-bp154.2.3.1 | OPENSUSE-SU-2022:10075-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jupyterlab | jupyterlab | >= 3.1.0, < 3.1.4 (affected)>= 3.0.0, < 3.0.17 (affected)>= 2.3.0, < 2.3.2 (affected)>= 2.0.0, < 2.2.10 (affected)< 1.2.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
2GitHub_M · cna
JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 12e225e0f68fcb95ae233c6a8635a0b33fd376ffc3a0a41db08631caa7c67e49
- Ingested
- 23 Sep 2026, 07:54:30 UTC
- Source record
- Official CVE record