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.
Attack Parameters
Impact Assessment
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products 2
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Mermaid_Project Mermaid
cpe:2.3:a:mermaid_project:mermaid:*:*:*:*:*:node.js:*:*
|
— |
10.9.6
|
|
Mermaid_Project Mermaid
cpe:2.3:a:mermaid_project:mermaid:*:*:*:*:*:node.js:*:*
|
11.0.0
|
11.15.0
|