CVE-2026-6658
published medium CVSS 3.0 · 5.4Cross-site Scripting (XSS) in jupyter/nbconvert
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jupyter | — | jupyter/jupyterunspecified through latest | Affected | Not stated | @huntr_ai |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-nbconvertaarch64 | Advisory build | 7.17.1-2.1 | OPENSUSE-SU-2026:11725-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-nbconvertppc64le | Advisory build | 7.17.1-2.1 | OPENSUSE-SU-2026:11725-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-nbconverts390x | Advisory build | 7.17.1-2.1 | OPENSUSE-SU-2026:11725-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-nbconvertx86_64 | Advisory build | 7.17.1-2.1 | OPENSUSE-SU-2026:11725-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-nbconvert-latexaarch64 | Advisory build | 7.17.1-2.1 | OPENSUSE-SU-2026:11725-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-nbconvert-latexppc64le | Advisory build | 7.17.1-2.1 | OPENSUSE-SU-2026:11725-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-nbconvert-latexs390x | Advisory build | 7.17.1-2.1 | OPENSUSE-SU-2026:11725-1 |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-nbconvert-latexx86_64 | Advisory build | 7.17.1-2.1 | OPENSUSE-SU-2026:11725-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nbconvertaarch64 | Advisory build | 7.17.1-2.1 | OPENSUSE-SU-2026:11725-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nbconvertppc64le | Advisory build | 7.17.1-2.1 | OPENSUSE-SU-2026:11725-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nbconverts390x | Advisory build | 7.17.1-2.1 | OPENSUSE-SU-2026:11725-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nbconvertx86_64 | Advisory build | 7.17.1-2.1 | OPENSUSE-SU-2026:11725-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-nbconvertaarch64 | Advisory build | 7.17.1-2.1 | OPENSUSE-SU-2026:11725-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-nbconvertppc64le | Advisory build | 7.17.1-2.1 | OPENSUSE-SU-2026:11725-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-nbconverts390x | Advisory build | 7.17.1-2.1 | OPENSUSE-SU-2026:11725-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-nbconvertx86_64 | Advisory build | 7.17.1-2.1 | OPENSUSE-SU-2026:11725-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jupyter | jupyter/jupyter | unspecified through latest (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
1Provider assertions
2@huntr_ai · cna
Cross-site Scripting (XSS) in jupyter/nbconvert
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c61090d558312af30d28a0832d6e4371b8b0a6b79e4e8868140dc7653c2c483e
- Ingested
- 23 Sep 2026, 09:28:47 UTC
- Source record
- Official CVE record