JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>
Overview
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.
- Published
- 8/9/2021
- Last modified
- 6/17/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
jupyterlab jupyter | < 1.2.21 | Verify advisory | Source |
jupyterlab jupyter | ≥ 2.0.0, < 2.2.10 | Verify advisory | Source |
jupyterlab jupyter | ≥ 2.3.0, < 2.3.2 | Verify advisory | Source |
jupyterlab jupyter | ≥ 3.0.0, < 3.0.17 | Verify advisory | Source |
jupyterlab jupyter | ≥ 3.1.0, < 3.1.4 | Verify advisory | Source |
jupyterlab jupyterlab | >= 3.1.0, < 3.1.4 | Verify advisory | Source |
jupyterlab jupyterlab | >= 3.0.0, < 3.0.17 | Verify advisory | Source |
jupyterlab jupyterlab | >= 2.3.0, < 2.3.2 | Verify advisory | Source |
jupyterlab jupyterlab | >= 2.0.0, < 2.2.10 | Verify advisory | Source |
jupyterlab jupyterlab | < 1.2.1 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 9.6. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.