ADVISORIES

Vulnerability

CVE-2021-32797

JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook. In affected versions untrusted notebook can execute code on load. In particular JupyterLab doesn’t sanitize the action attribute of html `<form>`. Using this it is possible to trigger the form validation outside of the form itself. This is a remote code execution, but requires user action to open a notebook.

4 advisories report this vulnerability, across 3 ecosystems.

High severity All PyPI 3SUSE 1openSUSE 1

Advisories in PyPI

  • GHSA-4952-p58q-6crx

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

    Moderate CVE-2021-32797 PyPI Updated 8 July 2026
  • PYSEC-2021-130

    JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook. In affected versions untrusted notebook can execute code on load. In particular JupyterLab doesn’t…

    CVE-2021-32797 PyPI Updated 6 July 2026
  • PYSEC-2026-688

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

    CVE-2021-32797 PyPI Updated 6 July 2026

References