Security mailing lists by PureSourceCode

CVE-2021-32798

CRITICAL 9.6CVSS 3.1

Special Element Injection in notebook

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.

Published
9 Aug 2021
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-75CWE-79CWE-80
Also known as
BIT-jupyter-base-notebook-2021-32798BIT-jupyter-notebook-2021-32798GHSA-hwvq-6gjx-j797PYSEC-2021-118
Sources
NVDJSONOSV GHSA-hwvq-6gjx-j797JSONOSV PYSEC-2021-118JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
OSV GitHub CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jupyter notebook
cpe:2.3:a:jupyter:notebook:*:*:*:*:*:*:*:*
>= 5.7.0, < 5.7.11 5.7.11
NVD jupyter notebook
cpe:2.3:a:jupyter:notebook:6.4.0:*:*:*:*:*:*:*
= 6.4.0
OSV PyPI notebook < 5.7.11 5.7.11
OSV PyPI notebook >= 6.0.0, < 6.4.1 6.4.1
OSV PyPI notebook >= 5.7.0, < 5.7.11 5.7.11

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 9 Aug 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Aug 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Aug 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.