CVE-2025-59433
JavaScript vulnerability analysis and mitigation

Overview

CVE-2025-59433 affects the @conventional-changelog/git-client package prior to version 2.0.0. The vulnerability was discovered and disclosed on September 20, 2025. This argument injection vulnerability exists in the library's getTags() API, which allows extra parameters to be passed to the git log command (GitHub Advisory).

Technical details

The vulnerability stems from improper handling of command-line parameters in the getTags() API. Unlike the getRawCommits() API which implements secure practices by using the special shell syntax '--' to prevent argument injection, getTags() lacks proper input sanitization, parameter validation, and allowlist restrictions. Additionally, it fails to properly use double-dash POSIX characters to indicate the end of options when passing command-line flags to the git binary. The vulnerability has been assigned a CVSS v3.1 score of 5.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:H (GitHub Advisory).

Impact

The vulnerability allows attackers to exploit the --output= command-line option in Git to overwrite arbitrary files on the system. While the scope is limited to writing files with git log output, it can be used to overwrite any file on the system, including sensitive files like .env or critical system configurations in /etc when the application runs with elevated privileges (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 2.0.0 of @conventional-changelog/git-client. Users should upgrade to this version or later to mitigate the risk. The fix removes the ability to pass additional git parameters for security reasons (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55182CRITICAL10
  • JavaScriptJavaScript
  • react-server-dom-webpack
NoYesDec 03, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management