// For flags

CVE-2021-32797

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

Severity Score

9.6
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

JupyterLab, es una interfaz de usuario para el Proyecto Jupyter que eventualmente reemplazará al clásico Jupyter Notebook. En las versiones afectadas del notebook no confiable puede ejecutar código en la carga. En particular, JupyterLab no sanea el atributo action del html "(form)". Usando esto es posible desencadenar la comprobación del formulario fuera del propio formulario. Esto es una ejecución de código remota , pero requiere la acción del usuario para abrir un notebook

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2021-05-12 CVE Reserved
  • 2021-08-09 CVE Published
  • 2024-07-15 EPSS Updated
  • 2024-08-03 CVE Updated
  • 2024-08-03 First Exploit
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Jupyter
Search vendor "Jupyter"
Jupyterlab
Search vendor "Jupyter" for product "Jupyterlab"
< 1.2.21
Search vendor "Jupyter" for product "Jupyterlab" and version " < 1.2.21"
-
Affected
Jupyter
Search vendor "Jupyter"
Jupyterlab
Search vendor "Jupyter" for product "Jupyterlab"
>= 2.0.0 < 2.2.10
Search vendor "Jupyter" for product "Jupyterlab" and version " >= 2.0.0 < 2.2.10"
-
Affected
Jupyter
Search vendor "Jupyter"
Jupyterlab
Search vendor "Jupyter" for product "Jupyterlab"
>= 2.3.0 < 2.3.2
Search vendor "Jupyter" for product "Jupyterlab" and version " >= 2.3.0 < 2.3.2"
-
Affected
Jupyter
Search vendor "Jupyter"
Jupyterlab
Search vendor "Jupyter" for product "Jupyterlab"
>= 3.0.0 < 3.0.17
Search vendor "Jupyter" for product "Jupyterlab" and version " >= 3.0.0 < 3.0.17"
-
Affected
Jupyter
Search vendor "Jupyter"
Jupyterlab
Search vendor "Jupyter" for product "Jupyterlab"
>= 3.1.0 < 3.1.4
Search vendor "Jupyter" for product "Jupyterlab" and version " >= 3.1.0 < 3.1.4"
-
Affected