Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. notebook
  4. ›
  5. CVE-2021-32797

CVE-2021-32797: JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>

August 23, 2021 (updated November 18, 2024)

Untrusted notebook can execute code on load. This is a remote code execution, but requires user action to open a notebook.

References

  • github.com/advisories/GHSA-4952-p58q-6crx
  • github.com/google/security-research/security/advisories/GHSA-c469-p3jp-2vhx
  • github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed
  • github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx
  • github.com/pypa/advisory-database/tree/main/vulns/jupyterlab/PYSEC-2021-130.yaml
  • nvd.nist.gov/vuln/detail/CVE-2021-32797

Code Behaviors & Features

Detect and mitigate CVE-2021-32797 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 5.7.11, all versions starting from 6.0.0 before 6.4.1

Fixed versions

  • 5.7.11
  • 6.4.1

Solution

Upgrade to versions 5.7.11, 6.4.1 or above.

Impact 9.6 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-75: Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-87: Improper Neutralization of Alternate XSS Syntax

Source file

pypi/notebook/CVE-2021-32797.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:59 +0000.