What’s Vulnerable › Vulnerabilities
GHSA-hx4r-w6wj-j8fg: devalue: Residual sparse-array CPU amplification in uneval
- Severity: medium (CVSS 5.5)
- Exploited in the wild: not listed in CISA KEV
- Public exploit or detection template: none known
- Published: 2026-10-01 · updated 2026-10-01
- Weakness: CWE-400
Description
`uneval` performs synchronous work proportional to a sparse array's declared length. An application that passes attacker-influenced sparse values to `uneval` can suffer event-loop blocking. Since attacker-controlled creation of sparse arrays is so difficult, this vulnerability is very difficult to exploit.
Affected products
- Npm Devalue: before 5.9.3 — fixed in 5.9.3
How to fix
Upgrade to a fixed version: Npm Devalue 5.9.3. Check the vendor advisory for mitigations.
References
- https://github.com/sveltejs/devalue/security/advisories/GHSA-hx4r-w6wj-j8fg
- https://github.com/sveltejs/devalue/commit/6861dbbb7e548849e48bce718e88747a298f7250
- https://github.com/sveltejs/devalue
- https://github.com/sveltejs/devalue/releases/tag/v5.9.3
Get alerted when GHSA-hx4r-w6wj-j8fg or the next vulnerability affects your stack