Vulnerability CVE-2022-25645


Published: 2022-05-01

Description:
All versions of package dset are vulnerable to Prototype Pollution via 'dset/merge' mode, as the dset function checks for prototype pollution by validating if the top-level path contains __proto__, constructor or protorype. By crafting a malicious object, it is possible to bypass this check and achieve prototype pollution.

 References:
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2431974
https://snyk.io/vuln/SNYK-JS-DSET-2330881
https://github.com/lukeed/dset/blob/master/src/merge.js%23L9

Copyright 2026, cxsecurity.com

 

Back to Top