Argument Injection Vulnerability in Conventional Changelog's Git Client
CVE-2025-59433
5.3MEDIUM
What is CVE-2025-59433?
The @conventional-changelog/git-client library, prior to version 2.0.0, contains an argument injection vulnerability in its getTags() API. This flaw enables users to pass extra parameters to the git log command without proper validation or sanitation. Unlike the getRawCommits() API, which implements secure practices, the getTags() API fails to restrict user inputs or terminate command-line options correctly. This oversight allows exploitation through the --output= command-line option, potentially leading to overwriting arbitrary files. A patch has been implemented in version 2.0.0 to address this issue.
Affected Version(s)
conventional-changelog < 2.0.0