HIGH7.5
GHSA-77vg-94rm-hx3p
Svelte devalue: DoS via sparse array deserialization
Quick fix
GHSA-77vg-94rm-hx3p — devalue: upgrade to the fixed version with the command below.
npm install devalue@5.8.1Details
`devalue.parse` could, due to quirks in some JavaScript engines, be convinced to allocate much more memory than was needed when deserializing sparse arrays, leading to excessive memory consumption.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/sveltejs/devalue/security/advisories/GHSA-77vg-94rm-hx3p[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-42570[ADVISORY]
- https://github.com/sveltejs/devalue/commit/206ca6712fbc380a4571c59de9ab04b91110792d[WEB]
- https://github.com/sveltejs/devalue[PACKAGE]
- https://github.com/sveltejs/devalue/releases/tag/v5.8.1[WEB]