Jupyterlab: jupyter/nbconvert allows Cross-site Scripting (XSS) via unsanitized `text/vnd.mermaid` output in HTML
Affects jupyterlabSource GCVE Database
Not known to be exploited · CVSS 5.4 Medium.
Data as of 9 Nov 2026, 23:33 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 26 Jun 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 9 Nov 2026.
What to do
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
Until a fix is available, avoid rendering or sharing HTML exports generated by nbconvert from untrusted notebooks containing `text/vnd.mermaid` output. Consider sanitizing or disabling rendering of this output type in HTML exports as a temporary mitigation.
Description
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.