controlled-merge@1.0.0 vulnerabilities

Merge two simple javascript objects, with controllable logic for conflicts.

Direct Vulnerabilities

Known vulnerabilities in the controlled-merge package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Prototype Pollution

controlled-merge is an utility function to merge a number of javascript objects into a singular object. It has an optional onConflict functionality that allows you to specify how to handle conflicts of the merge.

Affected versions of this package are vulnerable to Prototype Pollution. The vulnerability arises as the 'merge()' function does not check for the type of object before assigning a value to the property.

How to fix Prototype Pollution?

Upgrade controlled-merge to version 1.3.0 or higher.

>=1.0.0 <1.3.0