DEBIAN-CVE-2026-6658

Source
https://security-tracker.debian.org/tracker/CVE-2026-6658
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6658.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-6658
Upstream
  • CVE-2026-6658
Published
2026-06-26T10:16:22Z
Modified
2026-09-14T17:03:45Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / nbconvert

Package

Name
nbconvert
Purl
pkg:deb/debian/nbconvert?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

6.*
6.5.3-3
6.5.3-4
6.5.3-5
7.*
7.16.4-1
7.16.4-2
7.16.5-1
7.16.6-1
7.17.0-1
7.17.1-1
7.17.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6658.json"

Debian:13 / nbconvert

Package

Name
nbconvert
Purl
pkg:deb/debian/nbconvert?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.16.6-1
7.16.6-1+deb13u1
7.17.0-1
7.17.1-1
7.17.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6658.json"

Debian:14 / nbconvert

Package

Name
nbconvert
Purl
pkg:deb/debian/nbconvert?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.16.6-1
7.17.0-1
7.17.1-1
7.17.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6658.json"