Svelte devalue vulnerable to prototype pollution
sveltejs devalue
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| devalue npm |
|
|
Original description
Svelte devalue is a utility library. Prior to version 5.3.2, a string passed to devalue.parse could represent an object with a __proto__ property and devalue.parse does not check that an index is numeric. This could result in assigning prototypes to objects and properties, leading to prototype pollution. This issue has been fixed in version 5.3.2
From the CVE record · GitHub_M