CVE-2021-43861

High

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.

SeverityHigh
CVSS7.2
Exploit probability—
ProductMermaid
PublishedDec 30, 2021
First seenDec 30, 2021

How to fix

Update
  • mermaid_project mermaid8.13.8 or later
  • mermaid8.13.8 or later

Affected products

ProductAffected versionsFixed in
mermaid_project mermaidv < 8.13.88.13.8
mermaidnpmv < 8.13.88.13.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.