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.
Metrics
CVSS 3.1 5.4/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| mermaid-js | mermaid | < 8.13.8 |
References
- https://github.com/mermaid-js/mermaid/commit/066b7a0d0bda274d94a2f2d21e4323dab5776d83Patch, Third Party Advisory
- https://github.com/mermaid-js/mermaid/releases/tag/8.13.8Release Notes, Third Party Advisory
- https://github.com/mermaid-js/mermaid/security/advisories/GHSA-p3rp-vmj9-gv6vThird Party Advisory
- https://github.com/mermaid-js/mermaid/commit/066b7a0d0bda274d94a2f2d21e4323dab5776d83Patch, Third Party Advisory
- https://github.com/mermaid-js/mermaid/releases/tag/8.13.8Release Notes, Third Party Advisory
- https://github.com/mermaid-js/mermaid/security/advisories/GHSA-p3rp-vmj9-gv6vThird Party Advisory
Timeline
- Published
- Dec 30, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified