← CVE Intelligence

CVE-2021-43861

Incorrect sanitisation function leads to `XSS` PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
mermaid-js / mermaidaffected < 8.13.8

CWE

CWE-79, CWE-20

References

ADP enrichment

CVE

No English description supplied.