Intel

AIKIDO-2026-415640

svelte-meta-tags is vulnerable to Prototype Pollution

Prototype Pollution Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 5 days ago

59

Medium Risk

This Affects:

JSsvelte-meta-tags
4.0.0 - 5.0.1
Fixed in 5.0.2
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

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.

Background info

svelte-meta-tags is vulnerable to Prototype Pollution in versions 4.0.0 - 5.0.1.

How to fix this

Upgrade the svelte-meta-tags library to the patch version.