Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE-2024-43805
Summary
The jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. This vulnerability depends on user interaction by opening a malicious notebook with Markdown cells, or Markdown file using JupyterLab preview feature. A malicious user can access any data that the attacked user has access to as well as perform arbitrary requests acting as the attacked user. This issue affects JupyterLab versions through 3.6.7, 4.0.0a0 through 4.2.4 ,and Jupyter Notebook versions 7.0.0a1 through 7.2.1. Users are advised to upgrade. There is no workaround for the underlying DOM Clobbering susceptibility. However, select plugins can be disabled on deployments which cannot update in a timely fashion to minimise the risk. These are "@jupyterlab/mathjax-extension:plugin" - users will loose ability to preview mathematical equations. "@jupyterlab/markdownviewer-extension:plugin" - users will loose ability to open Markdown previews. "@jupyterlab/mathjax2-extension:plugin" (if installed with optional "jupyterlab-mathjax2" package) - an older version of the mathjax plugin for JupyterLab 4.x. To disable these extensions run "```jupyter labextension" disable "@jupyterlab/markdownviewer-extension:plugin" && "jupyter labextension" disable "@jupyterlab/mathjax-extension:plugin" && "jupyter labextension" disable "@jupyterlab/mathjax2-extension:plugin" "```" in bash.
- LOW
- NETWORK
- LOW
- CHANGED
- REQUIRED
- NONE
- LOW
- NONE
CWE-79 - Cross Site Scripting
Cross-Site Scripting, commonly referred to as XSS, is the most dominant class of vulnerabilities. It allows an attacker to inject malicious code into a pregnable web application and victimize its users. The exploitation of such a weakness can cause severe issues such as account takeover, and sensitive data exfiltration. Because of the prevalence of XSS vulnerabilities and their high rate of exploitation, it has remained in the OWASP top 10 vulnerabilities for years.
References
Advisory Timeline
- Published