CVE-2021-43861
Mermaid Project Mermaid vulnerability
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 products
Mermaid. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mermaid Project Mermaid runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/mermaid-js/mermaid/commit/066b7a0d0bda274d94a2f2d21e4323dab5776d83 · Patch
- github.com/mermaid-js/mermaid/releases/tag/8.13.8 · Third Party Advisory
- github.com/mermaid-js/mermaid/security/advisories/GHSA-p3rp-vmj9-gv6v · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-43861
- cve.org/CVERecord?id=CVE-2021-43861
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.