Description
undefsafe before 2.0.3 is vulnerable to Prototype Pollution. The 'a' function could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload.
Remediation
References
https://github.com/remy/undefsafe/commit/f272681b3a50e2c4cbb6a8533795e1453382c822
https://snyk.io/vuln/SNYK-JS-UNDEFSAFE-548940
Related Vulnerabilities
CVE-2022-23619 Vulnerability in maven package org.xwiki.platform:xwiki-platform-web
CVE-2022-41854 Vulnerability in maven package org.yaml:snakeyaml
CVE-2021-43812 Vulnerability in npm package @auth0/nextjs-auth0
CVE-2016-1182 Vulnerability in maven package struts:struts
CVE-2021-21321 Vulnerability in npm package fastify-reply-from