CVE-2021-32798

Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) in notebook

CRITICAL
9.6
CVSS Score
Published: August 9, 2021 at 08:50 PM UTC
Updated: June 17, 2026 at 03:53 AM UTC
1 product affected across 1 vendorNotebook

Using notebook by jupyter?

Get instant alerts when new vulnerabilities affect notebook - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
CRITICAL9.6
Exploit prediction
EPSS 2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.7.11v < 6.4.15.7.0 ≤ v < 5.7.116.4.0
Affected range stops below 5.7.11, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.4.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card