5.4

CVE-2026-6658: jupyter jupyter/jupyter Cross-site Scripting

CVSS: 5.4v3.0MediumDeferred
AliasesUBUNTU-CVE-2026-6658DEBIAN-CVE-2026-6658openSUSE-SU-2026:11725-1
Published 26-06-2026Last modified 26-06-2026

Vulnerability summary

CVE-2026-6658 is a medium (CVSS 5.4) Cross-site Scripting vulnerability in jupyter jupyter/jupyter. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 12.7% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.4/10
010
Medium · v3.0 (CVE.org)
EPSS score
0.23%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 26-06-2026
    PublishedVulnerability first disclosed.
  2. 26-06-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

0.00 pp

From 0.23% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.23%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • nbconvertAll versions (No fix recorded)
Jupyter1 product
Opensuse1 product
  • python-nbconvert&distro=openSUSE Tumbleweed< 7.17.1-2.1
Ubuntu1 product
  • nbconvertAll versions (No fix recorded)

4 vendors · 4 products

References

6 links