1 matches found
Mermaid: Improper sanitization of configuration leads to CSS injection
Impact Mermaid's default configuration allows injecting CSS that applies outside of the Mermaid diagram via the fontFamily, themeCSS, and altFontFamily configuration options. Live demo: mermaid.live Example code: %%init: "fontFamily": "x;ab :not&background:green !important cd"%% flowchart LR A --...
5.3CVSS5.8AI score0.00398EPSS
SaveExploits0References8Affected Software1
20