Skip to main content
← All vulnerabilities
CVE-2021-43861GHSA-P3RP-VMJ9-GV6V

Incorrect sanitisation function leads to `XSS`

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.13.8
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • mermaid-js mermaid

    fixed in 8.13.8

  • mermaidnpm

    fixed in 8.13.8

References 3

GitHub · mermaid-js/mermaid