CVE-2026-41150Mermaid Project Mermaid
Medium 5.3 No auth needed
Follow: this CVE · Mermaid Project · Mermaid Project Mermaid We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 4.0
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- May 29, 2026
- Updated
- Jul 21, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-835
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Mermaid.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | mermaid |
≥ 11.0.0-alpha.1 < 11.15.0 |
11.15.0 |
npm install mermaid@11.15.0 |
| npm | mermaid |
< 10.9.6 |
10.9.6 |
npm install mermaid@10.9.6 |
Per OSV / GitHub Advisories (GHSA-6m6c-36f7-fhxh). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mermaid_project | mermaid | < 10.9.6 |
| mermaid_project | mermaid | ≥ 11.0.0 < 11.15.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Release Notes
- github.com Release Notes
- github.com Third Party Advisory