NetSight
high7.4

CVE-2021-32797

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

Impact

### Impact Untrusted notebook can execute code on load. This is a remote code execution, but requires user action to open a notebook. ### Patches Patched in the following versions: 3.1.4, 3.0.17, 2.3.2, 2.2.10, 1.2.21. ### References [OWASP Page on Restricting Form Submissions](https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html) ### For more information If you have any questions or comments about this advisory, or vulnerabilities to report, please email our security list security@ipython.org. Credit: Guillaume Jeanne from Google

Affected packages

EcosystemPackageAffectedFixed in
pipjupyterlab< 1.2.211.2.21
pipnotebook< 5.7.115.7.11

Affected products

VendorProductAffected versions
JupyterJupyterlab
before 1.2.21
from 2.0.0 before 2.2.10
from 2.3.0 before 2.3.2
from 3.0.0 before 3.0.17
from 3.1.0 before 3.1.4

Weakness classification

References