All reports
Medium

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

Affected versions

Version ranges need review.

Affected versions
>= 3.0.0a0, < 3.0.17
Fixed version
3.0.17
Affected versions
< 1.2.21
Fixed version
1.2.21
Affected versions
>= 2.3.0a0, < 2.3.2
Fixed version
2.3.2
Affected versions
>= 2.0.0a0, < 2.2.10
Fixed version
2.2.10
Affected versions
Unknown
Fixed version
1.2.21 · 2.2.10 · 2.3.2 · 3.0.17 · 3.1.4
Affected versions
>= 3.1.0a0, < 3.1.4
Fixed version
3.1.4
Affected versions
>= 6.0.0, < 6.4.1
Fixed version
6.4.1
Affected versions
<5.7.11 || >=6.0.0 <6.4.1 || =0.0.0 || =4.0.0 || =4.0.1 || =4.0.2 || =4.0.4 || =4.0.5 || =4.0.6 || =4.1.0 || =4.2.0 || =4.2.0b1 || =4.2.1 || =4.2.2 || =4.2.3 || =4.3.0 || =4.3.1 || =4.3.2 || =4.4.0 || =4.4.1 || =5.0.0 || =5.0.0b1 || =5.0.0b2 || =5.0.0rc1 || =5.0.0rc2 || =5.1.0 || =5.1.0rc1 || =5.1.0rc2 || =5.1.0rc3 || =5.2.0 || =5.2.0rc1 || =5.2.1 || =5.2.1rc1 || =5.2.2 || =5.3.0 || =5.3.0rc1 || =5.3.1 || =5.4.0 || =5.4.1 || =5.5.0 || =5.5.0rc1 || =5.6.0 || =5.6.0rc1 || =5.7.0 || =5.7.1 || =5.7.10 || =5.7.2 || =5.7.3 || =5.7.4 || =5.7.5 || =5.7.6 || =5.7.8 || =5.7.9 || =6.0.0 || =6.0.1 || =6.0.2 || =6.0.3 || =6.1.0 || =6.1.0rc1 || =6.1.1 || =6.1.2 || =6.1.3 || =6.1.4 || =6.1.5 || =6.1.6 || =6.2.0 || =6.3.0 || =6.4.0 || =6.4.0a0 || =6.4.0a1 || =6.4.0rc0
Fixed version
5.7.11 · 6.4.1
Affected versions
< 5.7.11
Fixed version
5.7.11

Exploitation

CVE-2021-32797

Probability of exploitation in the next 30 days: 2.66%

FIRST EPSS · 2026-11-23

Description

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

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

Links

Credits

  • 0xDeva