Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mermaid Project | Mermaid | < 8.13.8 |
Related Weaknesses (CWE)
References
- https://github.com/mermaid-js/mermaid/commit/066b7a0d0bda274d94a2f2d21e4323dab57PatchThird Party Advisory
- https://github.com/mermaid-js/mermaid/releases/tag/8.13.8Release NotesThird Party Advisory
- https://github.com/mermaid-js/mermaid/security/advisories/GHSA-p3rp-vmj9-gv6vThird Party Advisory
- https://github.com/mermaid-js/mermaid/commit/066b7a0d0bda274d94a2f2d21e4323dab57PatchThird Party Advisory
- https://github.com/mermaid-js/mermaid/releases/tag/8.13.8Release NotesThird Party Advisory
- https://github.com/mermaid-js/mermaid/security/advisories/GHSA-p3rp-vmj9-gv6vThird Party Advisory
FAQ
What is CVE-2021-43861?
CVE-2021-43861 is a vulnerability with a CVSS score of 7.2 (HIGH). 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 diagra...
How severe is CVE-2021-43861?
CVE-2021-43861 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-43861?
Check the references section above for vendor advisories and patch information. Affected products include: Mermaid Project Mermaid.