{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.0.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9c12a31fb07aae2b9e1c55ef58dbdbb6a58b3221"
            }
          ],
          "repo": "https://github.com/domharrington/node-gitlog",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.",
  "id": "CVE-2021-26541",
  "modified": "2026-03-13T21:54:15.470979871Z",
  "published": "2021-02-08T17:15:13.800Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.npmjs.com/package/gitlog"
    },
    {
      "type": "FIX",
      "url": "https://github.com/domharrington/node-gitlog/pull/65"
    },
    {
      "type": "EVIDENCE",
      "url": "https://advisory.checkmarx.net/advisory/CX-2020-4301"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}