CVE-2021-43861Published Dec 30, 2021 · Dec 30Updated Oct 20
Incorrect sanitisation function leads to `XSS`
mermaid-js mermaid
High7.2Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mermaid npm |
|
|
Original description
Mermaid is a Javascript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams. Prior to version 8.13.8, malicious diagrams can run javascript code at diagram readers' machines. Users should upgrade to version 8.13.8 to receive a patch. There are no known workarounds aside from upgrading.
From the CVE record · GitHub_M