Vulnerabilities · 2026 · Svelte
CVE-2026-22775
Svelte Devalue vulnerability
Svelte devalue is a JavaScript library that serializes values into strings when JSON.stringify isn't sufficient for the job. From 5.1.0 to 5.6.1, certain inputs can cause devalue.parse to consume excessive CPU time and/or memory, potentially leading to denial of service in systems that parse input from untrusted sources. This affects applications using devalue.parse on externally-supplied data. The root cause is the ArrayBuffer hydration expecting base64 encoded strings as input, but not checking the assumption before decoding the input. This vulnerability is fixed in 5.6.2.
Affected products
Devalue. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Svelte Devalue runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/sveltejs/devalue/security/advisories/GHSA-g2pg-6438-jwpf · Vendor Advisory
- github.com/sveltejs/devalue/commit/11755849fa0634ae294a15ec0aef2f43efcad7c4 · Patch
- github.com/sveltejs/devalue/releases/tag/v5.6.2
- nvd.nist.gov/vuln/detail/CVE-2026-22775
- github.com/advisories/GHSA-g2pg-6438-jwpf
- access.redhat.com/errata/RHSA-2026:2144
- access.redhat.com/errata/RHSA-2026:2926
- access.redhat.com/security/cve/CVE-2026-22775
- nvd.nist.gov/vuln/detail/CVE-2026-22775
- cve.org/CVERecord?id=CVE-2026-22775
More vulnerabilities in Svelte products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.