CVE-2021-32797

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

Published Aug 9, 2021 CVSS 3.1 · 7.4 High EPSS 2.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-0107 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.
Github GHSA Github GHSA GHSA-4952-p58q-6crx JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 3, 2024, 11:33 PM
Reserved
May 12, 2021, 12:00 AM
Status
Modified
Published
Aug 9, 2021, 9:15 PM
Modified
Jun 17, 2026, 3:53 AM