Skip to main content
VulnerabilityPublished

CVE-2026-30226: sveltejs devalue · Prototype Pollution

Affects sveltejs devalueSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.3 Medium : upgrade to 5.6.4 when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 35% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.6.4
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade sveltejs devalue to 5.6.4.

Affected software

ProductAffectedFixed in
sveltejsdevalueAffected
  • <5.6.4
Fixed in
  • 5.6.4
npmdevaluepkg:npm/devalueOther threatsAffected
  • <5.6.4
Fixed in
  • 5.6.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The most effective mitigation is to upgrade the sveltejs devalue library to version 5.6.4 or later, where the prototype pollution vulnerability has been addressed. Organizations should audit their codebases and dependencies to identify usage of devalue versions prior to 5.6.4 and plan immediate upgrades. Additionally, developers should implement input validation and sanitization on data that is passed to devalue.parse and devalue.unflatten functions to reduce the risk of malicious payloads. Employing runtime security tools that detect prototype pollution attempts or anomalous object modifications can provide additional defense layers. For critical applications, consider isolating or sandboxing components that perform serialization to limit the impact of potential exploitation. Regular dependency scanning and vulnerability management practices should be enforced to detect and remediate similar issues proactively.

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.

References

Community reviews

Loading reviews…