10

CVE-2021-32798: Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) in notebook

Modified
AliasesGHSA-hwvq-6gjx-j797BIT-jupyter-base-notebook-2021-32798BIT-jupyter-notebook-2021-32798
Published 09-08-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-32798 is a critical (CVSS 10.0) vulnerability in jupyter notebook. EPSS estimates a 2.11% chance of exploitation in the next 30 days, higher than 82.3% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
10.0/10
010
Critical · v3.1 (CVE.org)
EPSS score
2.11%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 09-08-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 5 sources · 3 versions

EPSS trend

Probability

2.11%

Chance of exploitation in the next 30 days

Percentile

82%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.11% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Notebook

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • jupyter-notebook< 6.4.3-1
Jupyter1 product
  • notebook≥ 6.0.0, < 6.4.1 | < 5.7.11 | ≥ 5.7.0, < 5.7.11 | 6.4.0
PyPI1 product
  • notebook< 5.7.11 | ≥ 6.0.0, < 6.4.1 | < 79fc76e890a8ec42f73a3d009e44ef84c14ef0d5 | ≥ 5.7.0, < 5.7.11
Ubuntu1 product
  • jupyter-notebookAll versions (No fix recorded)

4 vendors · 4 products

References

8 links