PT-2026-52688 · Nbconvert · Nconvert

CVE-2026-6658

·

Published

2026-06-26

·

Updated

2026-09-08

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions jupyter/nbconvert versions prior to 7.17.1
Description Cross-site Scripting (XSS) occurs during HTML exports due to unsanitized text/vnd.mermaid output. The data mermaid block in share/templates/lab/base.html.j2 renders this output directly into HTML without escaping, which allows attackers to break out of the <pre> tag and inject arbitrary HTML or JavaScript. This issue affects servers using nbconvert to render notebooks as HTML, enabling the execution of malicious scripts in the context of users viewing the exported file.
Recommendations Update to a version newer than 7.17.0.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-6658
OPENSUSE-SU-2026:11725-1

Affected Products

Nconvert