CVE-2026-6658

MEDIUM
MEDIUM Priority: 0.01 BB Relevance: 51/100
Published: 2026-06-26 Modified: 2026-10-25 First seen: 2026-10-29 Status: active

Attack Surface

Network Low Complexity Scope Change

CVSS Vector Breakdown

AV: Network
AC: Low
PR: Low
UI: Required
S: Changed
C: Low
I: Low
A: None

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.

Weakness Classification (1)

Bug Bounty Relevance

51 / 100
✓ Network accessible
✓ Low complexity

CVSS Score

5.4 / 10.0 v3.0
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

EPSS — Exploitation Probability

0.16%
Raw Score 0.001610
Percentile 5.2%
Date 2026-10-29

EPSS Trend

2026-10-29
0.00161
2026-10-28
0.00161

Intelligence Sources

nvd ref →