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

Medium 6.3 Published Updated

Attackers can cause denial of service or type confusion in Svelte devalue via prototype pollution in parse and unflatten functions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-30226?

CVE-2026-30226 is a medium-severity vulnerability in sveltejs devalue, published on 11 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-1321

Which versions are affected by CVE-2026-30226?

2 open source packages ship an affected version, including devalue. It affects 1 product.

PackageAffectedFixed in
devalue npmAll versions5.6.4
devalue npmAll versions5.6.4

Products include Svelte Devalue.

How do I fix CVE-2026-30226?

Upgrade devalue to 5.6.4 or later.

Is CVE-2026-30226 being exploited?

There is no known exploitation of CVE-2026-30226 in the wild and no public exploit code.

Sources

Also known as GHSA-cfw5-2vxh-hr84, ROOT-APP-NPM-CVE-2026-30226.

Is CVE-2026-30226 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free