Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mermaid
  4. ›
  5. CVE-2026-71437

CVE-2026-71437: Mermaid Architecture diagrams are vulnerable to prototype pollution

August 6, 2026

Rendering an untrusted architecture-beta diagram lets the diagram author write an arbitrary property with the value horizontal or vertical onto Object.prototype. A group id of __proto__ is accepted as a valid parent.

References

  • github.com/advisories/GHSA-3rrr-jr9j-h3q3
  • github.com/mermaid-js/mermaid/commit/99af3fc35ef0a9a9c8c6314521344d67523ddccf
  • 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
  • nvd.nist.gov/vuln/detail/CVE-2026-71437

Code Behaviors & Features

Detect and mitigate CVE-2026-71437 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 11.5.0 before 11.16.1

Fixed versions

  • 11.16.1

Solution

Upgrade to version 11.16.1 or above.

Impact 9.9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/mermaid/CVE-2026-71437.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:41 +0000.