Skip to content

CVE-2025-57820 Svelte devalue vulnerable to prototype pollution

HighCVSS 7.9 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm devalue(npm) < 5.3.2 5.3.2 Fixed
sveltejs devalue = < 5.3.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm devalue(npm) < 5.3.2 5.3.2
sveltejs devalue = < 5.3.2 No fix listed

References