Skip to main content
← All vulnerabilities
CVE-2026-71437GHSA-3RRR-JR9J-H3Q3

Mermaid Architecture diagrams are vulnerable to prototype pollution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 11.16.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • mermaid-js mermaid

    From 11.5.0 · fixed in 11.16.1

  • mermaidnpm

    From 11.5.0 · fixed in 11.16.1

References 4

GitHub · mermaid-js/mermaid