CVE-2026-6658
Last modified
CVE-2026-6658 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-6658?
How severe is CVE-2026-6658?
How do I fix CVE-2026-6658?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-6651A security flaw has been discovered in erponline.xyz ERP Onl…2.4
- CVE-2026-6652A weakness has been identified in Pagekit CMS up to 1.0.18. …4.7
- CVE-2026-6653Use After Free in libxml2's xmlParseInternalSubset from GNOM…9.8
- CVE-2026-6654Double-Free / Use-After-Free (UAF) in the `IntoIter::drop` a…5.1
- CVE-2026-6656Crypt::Password versions through 0.28 for Perl are susceptib…7.5
- CVE-2026-6657A vulnerability in jupyter-server versions 1.12.0 through 2.…8.8
- CVE-2026-6659Crypt::PasswdMD5 versions through 1.42 for Perl generates in…7.5
- CVE-2026-6662A vulnerability was found in ericc-ch copilot-api up to 0.7.…7.3
- CVE-2026-6663The GWD Connect plugin for WordPress is vulnerable to missin…4.8
- CVE-2026-6664An integer overflow in network packet parsing code in PgBoun…7.5
- CVE-2026-66642Cross-Site Request Forgery (CSRF) vulnerability in WP Umbrel…5.4
- CVE-2026-6665The SCRAM code in PgBouncer before 1.25.2 did not check the …9.8
Are you affected by CVE-2026-6658?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
