A cross-site scripting (XSS) vulnerability exists in Bleach through version 6.4.0 due to insufficient URI scheme sanitization in the clean() function. Specifically, the object tag's data attribute and legacy attributes like classid, code, and archive can be exploited to bypass allowed protocols, enabling attackers to load malicious content via javascript:, data:text/html, or file: URIs. This affects applications that permit the object tag with data URIs.
Tornado versions from 1.2.0 up to but not including 4.6.6_1 contain an open redirect vulnerability due to inconsistent URL parsing between browsers and Python's urllib. This allows specially crafted URLs with triple-slash redirect paths to bypass previous redirect protections. The issue was addressed in version 4.6.6_1, which improves detection and fixes a regression introduced in the prior fix.
Soup Sieve versions from 3.3.2 up to but not including 4.6.4_1 contain a performance vulnerability in the handling of selectors using a general sibling combinator inside :has(), such as div:has(a ~ b). This causes the selector evaluation against untrusted HTML to run in quadratic time relative to the number of sibling elements, potentially stalling processing for minutes on moderately sized inputs. The issue arises because the implementation cannot short-circuit when the sibling element is absent, leading to nested scans. This vulnerability impacts availability by enabling CPU exhaustion through crafted HTML inputs. A fix is available in version 4.6.4_1. Users are advised to limit the use of :has() with general sibling combinators on untrusted HTML and consider timeouts or input filtering to mitigate risk.
CVE-2026-126190 is a denial of service vulnerability in Soup Sieve's handling of CSS selectors with descendant combinators. Matching selectors with multiple descendant combinators causes polynomial-time complexity relative to document nesting depth, allowing attackers controlling input HTML/XML to cause high CPU usage. The issue is fixed in Soup Sieve version 4.6.6 by caching intermediate results to reduce complexity to linear time. Applications processing untrusted markup with descendant combinators in selectors are affected. Upgrading to 4.6.6 or later mitigates the issue.
Jupyterlab's nbconvert component versions up to 7.17.0 have a Cross-site Scripting (XSS) vulnerability due to unsanitized rendering of `text/vnd.mermaid` output in HTML exports. This allows injection of arbitrary HTML/JavaScript by breaking out of a <pre> tag in the exported HTML, potentially executing scripts in the context of users viewing the export.
CVE-2026-116578 is an open redirect vulnerability in Tornado's RedirectHandler that allows attackers to craft URLs causing redirects to arbitrary hosts via protocol-relative URLs or substitutions affecting the scheme or host. This occurs when user-controlled input is substituted into URL templates in a way that influences the redirect target's scheme or host. The issue is fixed in Tornado 6.6, which rejects such substitutions with a 400 error.
Tornado HTTP servers have a vulnerability in their header parser that causes quadratic CPU usage when processing HTTP headers with obsolete line folding (line continuation). This can lead to significant event loop blocking and degraded service availability. The issue affects all Tornado HTTP servers before version 4.6.4_3. The vulnerability is fixed in Tornado 4.6.4_3 by removing support for obsolete line folding and rejecting header lines beginning with whitespace. The impact is limited to availability; confidentiality and integrity are not affected.
Tornado HTTP servers are vulnerable to event loop blocking and excessive memory use when processing HTTP/1.1 chunked transfer encoding bodies composed of many small chunks. An attacker can send a request body with millions of 1-byte chunks, causing the server to block the event loop for extended periods and consume significantly more memory than the actual body size. This affects all Tornado HTTP servers that read request bodies without prior rejection and also impacts SimpleAsyncHTTPClient when reading responses from malicious servers. The issue is fixed in Tornado 6.6.
A vulnerability in the Include directive of Mistune (used in JupyterLab) allows path traversal via '../' sequences to read arbitrary files outside the intended source directory. Additionally, error messages and included file contents are rendered without HTML escaping, enabling cross-site scripting (XSS) even when escaping is enabled. The Include plugin must be explicitly enabled to be exploitable. This issue affects JupyterLab versions from 3.4.7 up to but not including 4.6.1 and is fixed in version 4.6.1.
nbconvert versions up to 7.17.1 have an arbitrary file write vulnerability caused by path traversal in the filename attribute of cell output metadata when exporting notebooks to markdown, latex, rst, or asciidoc formats. This allows an attacker to write files to arbitrary locations if a victim converts a malicious notebook file. The vulnerability is fixed in version 4.6.4_3.
JupyterLab versions 4.5.7 through 4.6.3 have a vulnerability where the trust prompt for command links can incorrectly mark a different document as trusted than the one the user clicked. This occurs if another document becomes current while the trust prompt is open. Trusted documents allow buttons to run commands without further prompts, potentially enabling unintended command execution. When a notebook is incorrectly trusted, it is saved to disk as trusted, persisting the effect beyond the session. The issue is patched in versions 4.6.4 and 4.5.11.
A path traversal vulnerability in Tornado's StaticFileHandler allows unauthenticated attackers to read arbitrary files on the server by exploiting symbolic links inside the static root directory. This occurs because the handler uses os.path.abspath() which does not resolve symlinks when validating paths, enabling attackers to access files outside the intended directory. The vulnerability affects applications serving user-uploaded content or using build pipelines that create symlinks in the static directory. A fix is available in Tornado version 4.6.4.
CVE-2026-103262 is a high-severity vulnerability in Tornado's CurlAsyncHTTPClient where no response size limit is enforced during decompression, allowing a decompression bomb to cause unbounded memory growth. An attacker-controlled server can send a gzip-compressed payload that expands massively in memory, causing the client process to consume gigabytes of RAM and potentially be killed by the operating system's out-of-memory (OOM) killer. This issue affects Tornado versions from 1.2.0 up to but not including 4.6.4. The vulnerability is distinct from a previously fixed decompression bomb issue in SimpleAsyncHTTPClient, as CurlAsyncHTTPClient lacks the size checks present in that client. A fix is available in Tornado 4.6.4.
CVE-2026-103261 is a denial-of-service vulnerability in Tornado 6.5.8 where the HTTPServerRequest.__init__ method parses query strings without limiting the number of fields. This allows an attacker to send a GET request with thousands of query parameters, causing excessive CPU usage and stalling Tornado's single-threaded event loop. The flaw is due to missing a max_num_fields limit on query string parsing, unlike the POST body parsing which has a 1000-field cap. This leads to event-loop blocking and degraded response times for all clients sharing the same IOLoop. The issue is fixed in Tornado 4.6.4 by adding a 1000-field limit and proper error handling.
JupyterLab versions from 4.0.0 up to but not including 4.6.4 contain a vulnerability in the PyPI extension manager's uninstall functionality. The uninstall command does not properly validate extension names, allowing an authenticated user with permission to call the extension API to inject command-line arguments to pip. This can cause pip to read arbitrary server-side files or fetch internal URLs, leaking their contents in error messages. The vulnerability requires the PyPI Extension Manager to be enabled and kernels/terminals to be disabled or remote. It does not allow arbitrary code execution or writing arbitrary content, but can create or corrupt files with pip logs. The issue is fixed in JupyterLab 4.6.4 and 4.5.11.
JupyterLab versions 4.5.0 through 4.6.3 contain a cross-site scripting (XSS) vulnerability via the system clipboard paste functionality for notebook cells. The vulnerability arises because pasted cells retain a trusted metadata flag that causes embedded script elements in cell outputs to execute without sanitization. This allows attacker-controlled JavaScript to run in the context of the authenticated user’s JupyterLab session upon pasting. The vulnerability is patched in version 4.6.4 and 4.5.11.
JupyterLab versions 3.0.0 through 4.6.3 are vulnerable to a cross-site scripting (XSS) issue via crafted language pack pluralization headers. The vulnerability arises because JupyterLab improperly executes plural rule strings from language pack metadata using JavaScript's new Function, allowing injected code to run in the user's browser session. This affects users who have installed and selected a malicious or compromised language pack. The vulnerability enables execution of arbitrary JavaScript in the context of the authenticated user, potentially allowing access to Jupyter Server REST API and file system operations. Patches are available in JupyterLab 4.6.4 and 4.5.11. Users of JupyterLab 3.x should upgrade to supported 4.x versions. Workarounds include forcing the interface to use the English locale, which loads no language catalogues.
A regular expression denial of service (ReDoS) vulnerability exists in soupsieve's CSS selector parsing, specifically in the IDENTIFIER and VALUE sub-patterns. The flaw arises from overlapping quantified character classes causing quadratic backtracking when parsing long, malformed selectors that fail to match. This can cause the interpreter to stall for seconds or minutes depending on input size. The vulnerability is exploitable when user-controlled CSS selectors are passed to soupsieve or BeautifulSoup's select methods. Fixed in soupsieve version 4.6.2.
A Regular Expression Denial of Service (ReDoS) vulnerability exists in soupsieve's whitespace/comment trimming regex RE_WS_END, which is used during CSS selector parsing. The regex is unanchored at the start and used with .search(), causing quadratic time complexity (O(n²)) on valid selectors with long whitespace or comment runs not exactly at the string end. This can cause significant CPU delays (e.g., ~10 seconds for a 20 KB selector). The issue affects soupsieve versions used by jupyterlab >=3.3.2 and <4.6.2. A fix is available in version 4.6.2.
Tornado's parsing of application/x-www-form-urlencoded request bodies does not limit the number of fields parsed, allowing a specially crafted request with many separators to create tens of millions of fields. This parsing occurs synchronously on the single-threaded event loop before request handling, causing the entire server to stall and resulting in a denial of service. No authentication is required to trigger this condition if any route accepts form posts. The issue affects Tornado versions from 1.2.0 up to but not including 4.6.3 and is fixed in version 4.6.3.