collection.js is vulnerable to Prototype Pollution. The vulnerability exists due lack of sanization in the extend
function of extend.js
which allows an attacker to inject malicious property’s such as __proto__
, resulting in prototype pollution.
github.com/advisories/GHSA-47pj-q2vm-46xc
github.com/kobezzza/Collection/blob/be32c48e68f49d3be48a58e929d1ab8ff1d2d19c/dist/node/iterators/extend.js%23L324
github.com/kobezzza/Collection/commit/d3d937645f62f37d3115d6aa90bb510fd856e6a2
github.com/kobezzza/Collection/issues/27
github.com/kobezzza/Collection/releases/tag/v6.8.1