---
id: CVE-2026-71439
title: >-
  Mermaid is a JavaScript tool that uses Markdown-inspired text to create and
  modify diagrams and charts
summary: >-
  Mermaid is a JavaScript tool that uses Markdown-inspired text to create and
  modify diagrams and charts. From version 11.6.0 until 11.16.1, Mermaid Radar
  Diagrams allow arbitrary large values for the ticks parameter, which can cause
  high …
severity: medium
cwe:
  - CWE-606
  - CWE-1322
vendor: mermaid
product: mermaid
affected:
  - 'mermaid >= 11.6.0, < 11.16.1'
patched:
  - mermaid 11.16.1
published: '2026-08-06'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:53:06.753'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-71439'
references:
  - url: >-
      https://github.com/mermaid-js/mermaid/commit/59b22fad2b3bb04f87a476c84a8a2b24679e607e
    label: security-advisories@github.com
  - url: 'https://github.com/mermaid-js/mermaid/pull/8022'
    label: security-advisories@github.com
  - url: 'https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.16.1'
    label: security-advisories@github.com
  - url: >-
      https://github.com/mermaid-js/mermaid/security/advisories/GHSA-rhh3-jpg6-66xh
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-rhh3-jpg6-66xh'
tags:
  - nvd
  - ghsa
  - npm
epss: 0.00528
epssPercentile: 0.42265
aliases:
  - GHSA-rhh3-jpg6-66xh
ecosystem: npm
ingestedAt: '2026-08-06T20:03:56.325Z'
---

## Overview

Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 11.6.0 until 11.16.1, Mermaid Radar Diagrams allow arbitrary large values for the ticks parameter, which can cause high CPU usage and freeze the rendering webpage or JavaScript process for long periods of time, potentially until the process is killed from memory exhaustion. This issue is fixed in version 11.16.1.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-71439)

Affected packages:

- `mermaid >= 11.6.0, < 11.16.1`

Patched in:

- `mermaid 11.16.1`

Source: https://github.com/advisories/GHSA-rhh3-jpg6-66xh
