Use of Blocking Code in Single-threaded, Non-blocking Context Affecting mermaid package, versions >=11.6.0 <11.16.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.39% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-MERMAID-18592314
  • published8 Aug 2026
  • disclosed6 Aug 2026
  • creditaloisklink

Introduced: 6 Aug 2026

NewCVE-2026-71439  (opens in a new tab)
CWE-1322  (opens in a new tab)
CWE-606  (opens in a new tab)

How to fix?

Upgrade mermaid to version 11.16.1 or higher.

Overview

mermaid is a package for generation of diagrams and flowcharts from text in a similar manner as markdown.

Affected versions of this package are vulnerable to Use of Blocking Code in Single-threaded, Non-blocking Context via the ticks parameter in radar diagrams. An attacker can cause excessive CPU and memory consumption by specifying arbitrarily large values, leading to freezing or termination of the JavaScript process.

CVSS Base Scores

version 4.0
version 3.1