#963·cz-cli

Vulnerability: Prototype Pollution via the main (merge) function

Author: rkristelijnCreated Jan 11, 2023Updated Jun 25, 2025

Description

Found by vulnerability check OWASP:UsingComponentWithKnownVulnerability

Filename: merge:2.1.1 | Reference: CVE-2021-23397 | CVSS Score: 9.8 | Category: CWE-1321 | All versions of package @ianwalter/merge are vulnerable to Prototype Pollution via the main (merge) function. Maintainer suggests using @generates/merger instead.

dependency tree:

caused by https://github.com/callumacrae/find-node-modules/issues/18

awaiting fix to upgrade to [email protected]

Steps to reproduce

  1. Clone this repo
  2. Install dependencies npm i
  3. observe vulnerability

Environment

Wrongly raised in https://github.com/commitizen-tools/commitizen/issues/654