CVE-2026-71437

MEDIUM

Mermaid Architecture diagrams are vulnerable to prototype pollution

Title source: cna
STIX 2.1

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.

Scores

CVSS v4 6.5
EPSS 0.0029
EPSS Percentile 21.2%
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-1321
Status published
Products (2)
mermaid-js/mermaid >= 11.5.0, < 11.16.1
npm/mermaid 11.5.0 - 11.16.1npm
Published Aug 06, 2026
Tracked Since Aug 07, 2026