copy-anything is vulnerable to Prototype Pollution
45
Medium Risk
Affected versions of this package are vulnerable to prototype pollution, allowing an attacker to inject properties such as isAdmin into an object's prototype when copying an object containing a __proto__ property using the copy function of the copy-anything library. This can lead to unauthorized access, privilege escalation, and unpredictable application behavior due to bypassed permission checks.
You are affected if you are using a version that falls within the vulnerable range.
copy-anything is vulnerable to Prototype Pollution in versions 1.0.0 - 4.0.3.
Upgrade the copy-anything library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant