svelte-meta-tags is vulnerable to Prototype Pollution
59
Medium Risk
The exported deepMerge helper recursively merges a source object into a target and is used to combine default and user-supplied meta tag configuration. It iterates over the source object's keys without excluding __proto__, constructor, or prototype, so merging an object that carries these keys recurses into and mutates the shared object prototype. An attacker who can influence the merged configuration can pollute Object.prototype, affecting application behavior and enabling denial of service or further exploitation depending on downstream gadgets. The fix skips __proto__, constructor, and prototype keys from the source object during the merge.
You are affected if you are using a version that falls within the vulnerable range and you merge untrusted or user-controlled objects through the deepMerge helper or the meta tag configuration.
svelte-meta-tags is vulnerable to Prototype Pollution in versions 4.0.0 - 5.0.1.
Upgrade the svelte-meta-tags 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.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant