Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-30226 EUVD-2026-11253GHSA-cfw5-2vxh-hr84

devalue has prototype pollution in devalue.parse and devalue.unflatten

Published Mar 11, 2026 · Updated Mar 12, 2026 · Assigned by GitHub_M

Description

Svelte devalue is a JavaScript library that serializes values into strings when JSON.stringify isn't sufficient for the job. In devalue v5.6.3 and earlier, devalue.parse and devalue.unflatten were susceptible to prototype pollution via maliciously crafted payloads. Successful exploitation could lead to Denial of Service (DoS) or type confusion. This vulnerability is fixed in 5.6.4.

Affected products

VendorProductAffectedFixed
sveltejs devalue < 5.6.4 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm devalue < 5.6.4 5.6.4 GHSA-cfw5-2vxh-hr84

References