CVE-2026-44897: Jupyterlab · Mistune Heading ID Attribute has Injection XSS
Affects jupyterlabSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium : upgrade to 4.5.7_1 when convenient.
Data as of 30 Oct 2026, 09:14 UTC
- Patch
- Available – fixed in 4.5.7_1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 26 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade jupyterlab to 4.5.7_1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewjupyterlabpkg:brew/jupyterlabOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade JupyterLab to version 4.5.7_1 or later, where this issue is fixed. Avoid using custom heading_id callbacks that return unescaped user-controlled text. Use the default TOC hook or ensure any custom heading_id callback properly escapes or sanitizes the ID values before they are inserted into HTML.
Description
JupyterLab's Mistune HTMLRenderer.heading() method improperly handles the id attribute by inserting it directly into the HTML without escaping. When a custom heading_id callback returns user-controlled heading text containing double quotes, this allows injection of arbitrary HTML attributes, enabling cross-site scripting (XSS). The default TOC hook uses safe auto-generated IDs, but common usage involves deriving IDs from heading text, which is vulnerable. This flaw is fixed in JupyterLab version 4.5.7_1.