{
  "published": "2026-08-07T12:05:23Z",
  "modified": "2026-08-07T12:05:23Z",
  "schema_version": "1.7.5",
  "id": "CGA-84qx-9fff-xvpp",
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L"
    }
  ],
  "upstream": [
    "CVE-2026-50159",
    "GHSA-6x64-9x62-f2gx"
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/mermaid-js/mermaid/releases/tag/mermaid@11.16.1"
    },
    {
      "type": "WEB",
      "url": "https://github.com/mermaid-js/mermaid/releases/tag/v10.9.8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50159.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mermaid-js/mermaid/security/advisories/GHSA-6x64-9x62-f2gx"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-50159"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mermaid-js/mermaid/commit/12d472c9ed43f94814b110da8d7a9ae6dd5266ed"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mermaid-js/mermaid/commit/7e83f1533318b307764d961906a73377266f4c5e"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mermaid-js/mermaid/pull/8022"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Chainguard",
        "name": "gitlab-rails-ce-19.1",
        "purl": "pkg:apk/chainguard/gitlab-rails-ce-19.1?arch=aarch64"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "ecosystem_specific": {
        "components": [
          {
            "component_name": "mermaid",
            "component_version": "11.13.0",
            "component_type": "npm",
            "component_location": "/srv/gitlab/yarn.lock",
            "component_purl": "pkg:npm/mermaid@11.13.0",
            "latest_event_status": "detection",
            "latest_event_timestamp": "2026-08-07T12:05:23Z"
          }
        ]
      }
    }
  ]
}
