Live threats

All CVEs / jupyter

CVE-2026-6658jupyter/jupyter

Medium 5.4

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for jupyter/jupyter.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.