Medium severityNVD Advisory· Published Aug 6, 2026· Updated Sep 8, 2026
CVE-2026-71437
CVE-2026-71437
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mermaidnpm | >= 11.5.0, < 11.16.1 | 11.16.1 |
Affected products
10- osv-coords9 versionspkg:apk/wolfi/langfuse-3-workerpkg:apk/chainguard/langfuse-2-workerpkg:apk/chainguard/langfuse-fips-3-workerpkg:apk/chainguard/langfuse-fips-4-workerpkg:apk/chainguard/gitlab-rails-ce-fips-19.3pkg:apk/chainguard/langfuse-4-workerpkg:apk/chainguard/langfuse-3-workerpkg:apk/chainguard/gitlab-rails-ce-19.3pkg:apk/chainguard/langfuse-fips-2-worker
< 3.225.1-r2+ 8 more
- (no CPE)range: < 3.225.1-r2
- (no CPE)range: < 2.95.12-r41
- (no CPE)range: < 3.224.3-r11
- (no CPE)range: < 4.7.1-r1
- (no CPE)range: < 19.3.1-r3
- (no CPE)range: < 4.7.1-r0
- (no CPE)range: < 3.225.1-r2
- (no CPE)range: < 19.3.1-r6
- (no CPE)range: < 2.95.12-r43
- Range: 11.5.0 - 11.16.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-3rrr-jr9j-h3q3ghsaADVISORY
- github.com/mermaid-js/mermaid/commit/99af3fc35ef0a9a9c8c6314521344d67523ddccfnvdWEB
- github.com/mermaid-js/mermaid/pull/8022nvdWEB
- github.com/mermaid-js/mermaid/releases/tag/[email protected]nvdWEB
- github.com/mermaid-js/mermaid/security/advisories/GHSA-3rrr-jr9j-h3q3nvdWEB
News mentions
0No linked articles in our index yet.