{"id":"CVE-2025-59433","published":"2025-09-22T19:14:54Z","modified":"2025-09-22T19:41:56Z","title":"@conventional-changelog/git-client has an Argument Injection vulnerability","vendor":"conventional-changelog","product":"conventional-changelog","tier":"tail","description":{"text":"Conventional Changelog generates changelogs and release notes from a project's commit messages and metadata. Prior to version 2.0.0, @conventional-changelog/git-client has an argument injection vulnerability. This vulnerability manifests with the library's getTags() API, which allows extra parameters to be passed to the git log command. In another API by this library, getRawCommits(), there are secure practices taken to ensure that the extra parameter path is unable to inject an argument by ending the git log command with the special shell syntax --. However, the library does not follow the same practice for getTags() as it does not attempt to sanitize for user input, validate the given params, or restrict them to an allow list. Nor does it properly pass command-line flags to the git binary using the double-dash POSIX characters (--) to communicate the end of options. Thus, allowing users to exploit an argument injection vulnerability in Git due to the --output= command-line option that results with overwriting arbitrary files. This issue has been patched in version 2.0.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00216,"percentile":0.12349,"provenance":"source"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"references":[{"url":"https://github.com/conventional-changelog/conventional-changelog/security/advisories/GHSA-vh25-5764-9wcr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/conventional-changelog/conventional-changelog/commit/d95c9ffac05af58228bd89fa0ba37ad65741c6a2","tags":["x_refsource_MISC"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":2.47},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"conventional-changelog","affectedVersions":[{"vendor":"conventional-changelog","product":"conventional-changelog","versions":["< 2.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-09-22T19:41:46.095643Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@conventional-changelog/git-client","vulnerableRanges":["<2.0.0"],"patched":["2.0.0"],"from":["GHSA-vh25-5764-9wcr"],"provenance":"source"}],"summary":{"text":"The @conventional-changelog/git-client component of the conventional-changelog product contains an argument injection flaw in its getTags() API, which passes caller-supplied parameters to the git log command without sanitising them or ending options with \"--\". An attacker who can influence those parameters can inject a git option such as --output= to overwrite arbitrary files, and this requires high attack complexity, high privileges, and user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:04Z"},"euvd":{"id":"EUVD-2025-30450","exploited":false,"provenance":"source"}}