{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:mermaid_project:mermaid:*:*:*:*:*:node.js:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "10.9.6"
              },
              {
                "introduced": "11.0.0"
              },
              {
                "fixed": "11.15.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "dd351a7cef45b70638147a5e000f1ee8bfd35637"
            },
            {
              "introduced": "2cfdd1620a8ceef37c0b738569dfb8bcc0005547"
            },
            {
              "fixed": "41646dfd43ac83f001b03c70605feb036afae46d"
            },
            {
              "fixed": "a59ea56174712ee5430dfd5bc877cb5151f501a6"
            },
            {
              "fixed": "faafb5d49106dd32c367f3882505f2dd625aa30e"
            }
          ],
          "repo": "https://github.com/mermaid-js/mermaid",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-6m6c-36f7-fhxh"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-835"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41150.json"
  },
  "details": "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.",
  "id": "CVE-2026-41150",
  "modified": "2026-07-15T01:49:06.110290678Z",
  "published": "2026-05-29T13:54:52.157Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.15.0"
    },
    {
      "type": "WEB",
      "url": "https://github.com/mermaid-js/mermaid/releases/tag/v10.9.6"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41150.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mermaid-js/mermaid/security/advisories/GHSA-6m6c-36f7-fhxh"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41150"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mermaid-js/mermaid/commit/a59ea56174712ee5430dfd5bc877cb5151f501a6"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mermaid-js/mermaid/commit/faafb5d49106dd32c367f3882505f2dd625aa30e"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Mermaid Gantt Charts are vulnerable to an Infinite Loop DoS"
}