Vulnerabilities

CVE-2026-41150

Medium 5.3 CVSS 3.1

Description

Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.6 and 11.15.0, there is a denial-of-service attack when rendering gantt charts, if they use the excludes attribute to exclude all dates. mermaid.parse is unaffected, unless you then call the ganttDb.getTasks() (which is called when rendering a diagram). This vulnerability is fixed in 10.9.6 and 11.15.0.

Description as published by the source, in English.

Key facts

Published
2026-05-29
Last modified
2026-07-21
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.4 % higher than 31 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
mermaid (npm) < 10.9.6 Affected
mermaid (npm) ≥ 11.0.0-alpha.1, < 11.15.0 Affected
Mermaid Project Mermaid < 10.9.6 Affected
Mermaid Project Mermaid ≥ 11.0.0, < 11.15.0 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities