CVE Catalog

CVE-2026-81176

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Summary

Svelte devalue is a JavaScript library that serializes values into strings when JSON.stringify isn't sufficient. Prior to 5.9.2, devalue.parse does not reject out-of-bounds indices greater than or equal to values.length in src/parse.js. A specially crafted untrusted payload can make the parser alternate between array representations, producing quadratic work and causing denial of service in applications that parse untrusted devalue data.

Risk Assessment

An attacker can remotely cause denial of service by submitting a malicious devalue payload, leading to excessive resource consumption and application unavailability.

Recommendation

Update the devalue library to version 5.9.2 or later, which fixes this vulnerability.

Other vulnerabilities in Svelte devalue

See all
Original NVD description (English source)

Svelte devalue is a JavaScript library that serializes values into strings when JSON.stringify isn't sufficient for the job. Prior to 5.9.2, devalue.parse does not reject out-of-bounds indices that are greater than or equal to values.length in src/parse.js. A specially crafted untrusted payload can make the parser alternate between array representations, producing quadratic work as the payload grows and causing denial of service in applications that parse untrusted devalue data. This issue is fixed in version 5.9.2.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS