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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm devalue(npm) | < 5.3.2 | 5.3.2 | Fixed |
| sveltejs devalue | = < 5.3.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm devalue(npm) | < 5.3.2 | 5.3.2 |
| sveltejs devalue | = < 5.3.2 | No fix listed |
References
- https://github.com/sveltejs/devalue/security/advisories/GHSA-vj54-72f3-p5jv vendor-advisory
- https://github.com/sveltejs/devalue/commit/0623a47c9555b639c03ff1baea82951b2d9d1132 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product