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.
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:NPrivileges RequiredNone
UI:RUser InteractionRequired
Scope
S:CScopeChanged
Impact
C:HConfidentialityHigh
I:NIntegrityNone
A:NAvailabilityNone
Weaknesses
Affected Products
PyPI
package-ecosystem
jupyterlab
oss-projectaka jupyter lab
jupyter
oss-projectaka notebook, jupyterlab, jupyter server
Exploitability
Official Patch Available
Attack Graph
Products CVE Techniques Tactics
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
2 techniques Execution
Initial Access
References
https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx
github.com
https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed
github.com
https://github.com/google/security-research/security/advisories/GHSA-c469-p3jp-2vhx
github.com
and 2 more references View all →
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2021-32797 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows
