CVE-2026-6658jupyter/jupyter
Medium 5.4
Follow: this CVE · jupyter · jupyter/jupyter We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.0
- 5.4
- EPSS
- —
- Auth required
- Yes
- Published
- Jun 26, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
A vulnerability in jupyter/nbconvert versions <= 7.17.0 allows for Cross-site Scripting (XSS) via unsanitized `text/vnd.mermaid` output in HTML exports. The `data_mermaid` block in `share/templates/lab/base.html.j2` renders `text/vnd.mermaid` cell output directly into HTML without escaping, enabling attackers to inject arbitrary HTML/JavaScript by breaking out of the `<pre>` tag. This vulnerability impacts any server using nbconvert to render notebooks as HTML, allowing attackers to execute arbitrary JavaScript in the context of users viewing the HTML export.
What to do
- Apply the vendor's security update for jupyter/jupyter.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | nbconvert |
≤ 7.17.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-9754-6rhw-gj3h). Check the version in your lockfile before upgrading.
Affected products
- jupyter · jupyter/jupyter
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- jupyter-nbconvert-7.17.1-2.1 on GA media · SUSE · openSUSE-SU-2026:11725-1 · Sep 8, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.