XSS
jupyter/nbconvert allows Cross-site Scripting (XSS) via unsanitized `text/vnd.mermaid` output in HTML exports
The nbconvert HTML export template renders Mermaid cell output without escaping, so an attacker can inject HTML or JavaScript by breaking out of the pre tag. Anyone viewing the exported HTML could have arbitrary JavaScript run in their browser.
nbconvert
Medium