unhead is vulnerable to Prototype Pollution
67
Medium Risk
Affected versions of this package are affected by a prototype pollution vulnerability in unhead. Insufficient validation when merging user-controlled objects into internal configuration structures allows specially crafted property names such as __proto__ to modify the prototype of JavaScript objects. This could allow an attacker to inject arbitrary properties into the global object prototype, potentially influencing application behavior and enabling further attacks depending on how polluted properties are later used. The issue is addressed by adding safeguards to prevent prototype keys from being merged into internal objects.
You are affected if you are using a version that falls within the vulnerable range.
unhead is vulnerable to Prototype Pollution in versions 0.0.1 - 2.1.11.
Upgrade the unhead 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