CyberRota Analysis
AI-GeneratedMermaid versions 11.5.0 to 11.16.1 are susceptible to prototype pollution due to improper handling of group IDs in architecture diagrams, specifically when an ID of __proto__ is used. This vulnerability allows attackers to manipulate Object.prototype, which can lead to unintended behavior in the embedding Java applications. Developers and security teams using affected versions should prioritize upgrading to version 11.16.1 to mitigate potential exploitation risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.