Skip to content
CVE PROGRAM SOURCE RECORD7.4 High

CVE-2021-32797

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

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

jupyterlab jupyterlab

  • >= 3.1.0, < 3.1.4affected
  • >= 3.0.0, < 3.0.17affected
  • >= 2.3.0, < 2.3.2affected
  • >= 2.0.0, < 2.2.10affected
  • < 1.2.1affected

References