Vulnerability

CVE-2026-71437

mediumCVSS 4.0 6.5Published 6 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 11.5.0 until 11.16.1, Mermaid Architecture Diagrams are vulnerable to prototype pollution when a diagram defines a group with an id of __proto__. Because the group id is used directly as an object property key without validation, an attacker who can supply diagram text can pollute Object.prototype, potentially affecting the behavior of the embedding application. This issue is fixed in version 11.16.1.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /mermaid-js/mermaid/commit/99af3fc35ef0a9a9c8c6314521344d67…
  • github.com /mermaid-js/mermaid/pull/8022
  • github.com /mermaid-js/mermaid/releases/tag/mermaid@11.16.1
  • github.com /mermaid-js/mermaid/security/advisories/GHSA-3rrr-jr9j-h3q3

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning