CVE-2021-32798
published critical CVSS 3.1 · 10.0Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) in notebook
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jupyter | — | notebook>= 6.0.0, < 6.4.1 · < 5.7.11 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-15.6 | jupyter-notebooknoarch | Advisory build | 5.7.11-bp156.4.3.1 | OPENSUSE-SU-2024:0231-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | jupyter-notebook-docnoarch | Advisory build | 5.7.11-bp156.4.3.1 | OPENSUSE-SU-2024:0231-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | jupyter-notebook-langnoarch | Advisory build | 5.7.11-bp156.4.3.1 | OPENSUSE-SU-2024:0231-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | jupyter-notebook-latexnoarch | Advisory build | 5.7.11-bp156.4.3.1 | OPENSUSE-SU-2024:0231-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python3-notebooknoarch | Advisory build | 5.7.11-bp156.4.3.1 | OPENSUSE-SU-2024:0231-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python3-notebook-langnoarch | Advisory build | 5.7.11-bp156.4.3.1 | OPENSUSE-SU-2024:0231-1 |
Description
The Jupyter notebook is a web-based notebook environment for interactive computing. In affected versions untrusted notebook can execute code on load. Jupyter Notebook uses a deprecated version of Google Caja to sanitize user inputs. A public Caja bypass can be used to trigger an XSS when a victim opens a malicious ipynb document in Jupyter Notebook. The XSS allows an attacker to execute arbitrary code on the victim computer using Jupyter APIs.
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
- 10.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jupyter | notebook | >= 6.0.0, < 6.4.1 (affected)< 5.7.11 (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
Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) in notebook
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- fcad4e65604d441fa6eaa21bb149cf2044fa255133a2df40c2a084dbe54717a3
- Ingested
- 23 Sep 2026, 07:54:30 UTC
- Source record
- Official CVE record