What’s Vulnerable › Vulnerabilities

CVE-2026-30226: devalue has prototype pollution in devalue.parse and devalue.unflatten

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

How to fix

Upgrade to a fixed version: sveltejs devalue 5.6.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-30226 or the next vulnerability affects your stack