Mistune v3.3.2 suffers from a Denial of Service vulnerability caused by uncontrolled recursion when rendering deeply nested emphasis tokens in Markdown. Submitting Markdown with about 1,000 consecutive asterisks triggers approximately 500 levels of nested <strong> tags, exceeding Python's recursion limit and causing a RecursionError crash. This affects all mistune APIs including markdown() and html(). The vulnerability has a CVSS score of 7.5 (High) and can be exploited remotely without authentication. A fix is available in version 4.6.2.
CVE-2026-91991 is a vulnerability in Tornado's set_cookie method where an incomplete fix for a previous cookie attribute injection flaw (CVE-2026-35536) allows injection via capitalized keyword arguments. The validation loop only checks lowercase keys, while capitalized keys in the deprecated kwargs path bypass validation, enabling injection of cookie attributes such as Secure, HttpOnly, SameSite, Domain, and Path. This flaw affects Tornado versions from 4.5.6 up to but not including 4.6.3. A fix is available in version 4.6.3.
A vulnerability in JupyterLab's multipart form data parsing allows an attacker to cause a denial of service (DoS) by triggering excessive memory usage. The function parse_multipart_form_data splits the input data into a large list before checking the number of parts, leading to transient memory amplification. This can be exploited pre-authentication by sending a crafted HTTP request with many parts, causing high memory consumption and potential service disruption. The issue affects versions from 1.2.0 up to but not including 4.6.3 and has been fixed in version 4.6.3.
A missing await in JupyterLab's PyPIExtensionManager.install() method caused the allowlist/blocklist check to not be enforced for direct callers. This vulnerability affects only custom extensions or downstream integrations that call install() directly with untrusted input, combined with an allowlist/blocklist configured and the default PyPI Extension Manager enabled while kernels and terminals are disabled or remote. Stock JupyterLab HTTP API and Extension Manager UI are not affected. The issue is fixed in JupyterLab versions 4.6.2 and later.
CVE-2025-27516 is a vulnerability in JupyterLab's use of the Jinja2 templating engine where the sandbox environment can be bypassed via the attr filter to access the string format method. This allows an attacker who can control template content to execute arbitrary Python code. The issue affects versions of JupyterLab from 1.2.0 up to but not including 4.0.9 and from 4.1.2 up to but not including 4.3.5_1. The vulnerability is medium severity with a CVSS 4.0 score of 5.4. Fixed versions are 4.0.9 and 4.3.5_1.
JupyterLab versions from 4.1.0 up to but not including 4.6.2 have a vulnerability in the plugin manager that allows authenticated users to bypass administrator-enforced plugin lock rules via direct API requests. This bypass affects child plugins of multi-plugin extensions and scenarios where administrators issued a 'lock all' command. The vulnerability can impact data integrity and circumvent restrictions implemented through locked plugins. Fixed in JupyterLab 4.6.2 and 4.5.10.
JupyterLab versions 3.3.0 up to but not including 4.6.2 contain a cross-site scripting (XSS) vulnerability via crafted settings files named overrides.json. This file can be imported by users or automatically loaded from configuration directories. The vulnerability allows embedded code in the settings file to execute with the user's privileges, potentially reading or modifying notebooks and running code on the notebook server and connected kernels. The issue arises because certain notebook display settings were not properly validated before application. Patches are available in versions 4.6.2 and later.
JupyterLab versions from 4.5.0 up to but not including 4.6.2 have a vulnerability in the PyPI extension manager's blocklist enforcement. Authenticated users can bypass package-name blocking by using PyPI-equivalent spellings, allowing installation of otherwise blocked extensions. This can impact the integrity and availability of the single-user server instance, especially in deployments with custom allow/block lists and restricted kernel access. The issue is fixed in version 4.6.2.
JupyterLab's image viewer contains a cross-site scripting (XSS) vulnerability when opening a specially crafted image file and then opening it in a new browser tab. This vulnerability can lead to remote code execution on the JupyterLab server. Versions prior to 4.6.2 are affected. The issue is patched in versions 4.6.2 and 4.5.10. As a workaround, disabling the image viewer plugin can mitigate the risk.
JupyterLab versions from 1.2.0 up to but not including 4.5.9 contain a stored cross-site scripting (XSS) vulnerability in the Extension Manager. A malicious PyPI package can include a 'javascript:' URL in its metadata, which JupyterLab renders as a clickable homepage link without validating the URL protocol. When a user clicks this link, attacker-controlled JavaScript executes in the JupyterLab origin. This vulnerability requires the Extension Manager to be enabled with the default PyPI source and the malicious package to appear in the user's extension list.
JupyterLab versions from 1.2.0 up to but not including 4.5.7_1 contain a vulnerability where the HTML sanitizer allowlists certain attributes that enable one-click execution of arbitrary JupyterLab commands from untrusted HTML content. This can lead to arbitrary code execution, file deletion, and denial of service by exhausting server resources. The vulnerability can be exploited by an attacker sharing a malicious notebook or Markdown file that contains deceptive buttons triggering commands upon user clicks. The issue is patched in version 4.5.7_1. No end-user workarounds exist, but downstream applications can disable the CommandLinker functionality. The patched versions also allow disabling the command linker via configuration.
JupyterLab versions prior to 4.5.7 have a vulnerability where the allow-list for extensions installable via the PyPI Extension Manager is not properly enforced. This allows authenticated users in multi-tenant or restricted environments to install arbitrary third-party extensions, potentially escalating privileges and compromising server security. The issue is patched in version 4.5.7. Workarounds include switching the extension manager to read-only mode.
A stored Cross-Site Scripting (XSS) vulnerability in Jupyter Notebook allows attackers to steal authentication tokens from users who open malicious notebook files and interact with attacker-crafted elements. This vulnerability enables full account takeover via the Jupyter REST API, including reading and modifying files, executing arbitrary code, and shell access. Patches are available in Jupyter Notebook 7.5.6 and JupyterLab 4.5.7. Workarounds include disabling the help extension and toggling off the command linker functionality.
JupyterLab versions prior to 4.4.8 did not enforce the `noopener` attribute on links generated by LaTeX typesetters in Markdown files and cells. This omission could theoretically expose users of third-party LaTeX-rendering extensions that generate links with `target=_blank` to reverse tabnabbing attacks. However, official LaTeX typesetter extensions do not use `target=_blank`, so default installations are not impacted. The issue is fixed in JupyterLab 4.4.8, which enforces both `noopener` and `target=_blank` on such links to improve security and user experience.
CVE-2024-43805 is an HTML injection vulnerability in Jupyter Notebook and JupyterLab that enables DOM Clobbering. It requires user interaction by opening a malicious notebook with Markdown cells or a Markdown file using the JupyterLab preview feature. Exploitation allows an attacker to access any data available to the victim and perform arbitrary requests as the victim user. The issue is patched in JupyterLab 4.6.3 and later versions, and Jupyter Notebook 7.2.2 and later. No full workaround exists, but disabling certain plugins can reduce risk for those unable to update promptly.
The JupyterLab extension template prior to version 4.3.1 includes a GitHub Actions workflow file 'update-integration-tests.yml' that contains a remote code execution (RCE) vulnerability. This affects repositories created with the template using the 'test' option from versions 1.2.0 up to but not including 4.3.1. Extension authors hosting code on GitHub should upgrade to version 4.3.1 or later to mitigate this critical vulnerability. Users who modified the workflow file should accept overwriting it during upgrade and reapply changes afterward. Temporarily disabling GitHub Actions during the upgrade is recommended, as is rebasing pull requests from untrusted users to avoid running vulnerable workflows.
JupyterLab versions prior to 4.0.11 are vulnerable to a flaw that can expose users' Authorization and XSRF tokens if they click on a malicious link while running an older jupyter-server version. This vulnerability allows potential leakage of sensitive authentication tokens. The issue has been patched in JupyterLab 4.0.11 and later versions. Users are advised to upgrade jupyter-server to version 2.7.2 or newer to mitigate the risk, as no other workarounds are available.
JupyterLab versions from 4.0.0 up to but not including 4.0.11 are vulnerable to a stored cross-site scripting (SXSS) issue in the Markdown preview feature. This vulnerability requires user interaction by opening a malicious notebook or Markdown file. Exploitation allows an attacker to access data available to the user and perform arbitrary requests on their behalf. The issue is patched in version 4.0.11. As a workaround, users can disable the table of contents extension.
Tornado's CurlAsyncHTTPClient class in versions >=1.2.0 and <4.2.3 allows CRLF injection in HTTP request headers. This occurs because Tornado does not validate or reject carriage return and line feed characters in header values, enabling attackers to inject arbitrary headers or even additional HTTP requests. This vulnerability differs from the standard AsyncHTTPClient, which properly rejects such characters. The issue stems from libcurl and pycurl passing header strings verbatim without filtering control characters. Exploitation may facilitate server-side request forgery (SSRF) attacks. A fix is available in Tornado version 4.2.3.
CVE-2026-91992 is a vulnerability in Tornado's CurlAsyncHTTPClient where per-request credentials such as client TLS certificates and proxy authentication credentials leak between requests due to handle reuse without proper reset. This causes sensitive credentials from one request to be sent to unintended hosts in subsequent requests. The issue affects all Tornado versions through 6.5.6 and was fixed in version 4.5.8_1.