CVE-2026-71439: Mermaid Package Radar Diagrams Vulnerable to Denial of Service (DoS)

mermaid Updated 07 Aug 2026

Summary

06/08/2026
Yes i
Moderate
5.3

CVE-2026-71439: Mermaid radar diagrams are vulnerable to DoS. Affects mermaid versions >= 11.6.0, < 11.16.1. Fixed in 11.16.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Mermaid is an open-source JavaScript library that enables the generation of diagrams and visualizations from text descriptions. It is widely used for creating flowcharts, sequence diagrams, and radar diagrams, among others. The library is popular among developers for its simplicity and ability to integrate with various platforms. However, a recent vulnerability has been identified in the radar diagram feature, which allows for the input of excessively large values for ticks, leading to potential performance issues.

Vulnerability Detail

The vulnerability arises from the ability to specify arbitrary large values for the 'ticks' parameter in Mermaid radar diagrams. This can lead to high CPU usage and freezing of the webpage or JavaScript process for extended periods. Eventually, the process may be terminated due to out-of-memory (OOM) errors. The issue is rooted in the lack of input validation for the ticks parameter, which allows users to exploit this feature by inputting extremely large numbers, causing Denial of Service (DoS) conditions.

How To Fix

Latest published version: 12.2.0 as of 22 Oct 2026

npm install mermaid@12.2.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

11.16.1

This is the first release that contains the fix.

npm install mermaid@11.16.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no known workarounds for this vulnerability without upgrading to the patched version of Mermaid. It is strongly recommended to update to version 11.16.1 or later.

Conclusion

The vulnerability identified as CVE-2026-71439 in the Mermaid package poses a significant risk due to its potential to cause Denial of Service through the misuse of the 'ticks' parameter in radar diagrams. Users are advised to upgrade to version 11.16.1 to mitigate this risk effectively.

See every vulnerability recorded for mermaid →

Share this vulnerability

FAQ

The vulnerability allows for the input of excessively large values for the 'ticks' parameter in radar diagrams, leading to high CPU usage and potential freezing of the application.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.

The CVSS score for this vulnerability is 5.3, indicating a moderate severity level.

Unfortunately, there are no known workarounds to prevent this issue without upgrading to the patched version of Mermaid.

Related vulnerabilities

Recent vulnerabilities recorded for mermaid.

How To Fix

Latest published version: 12.2.0 as of 22 Oct 2026

npm install mermaid@12.2.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

11.16.1

This is the first release that contains the fix.

npm install mermaid@11.16.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback