p PatchFirst

CVE-2026-81176

CVE-2026-81176 · Svelte devalue: DoS via malformed input

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.3 · Medium · EPSS 0.5% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • devalue

    Versions
    • < 5.9.2: Affected

    No fix published

  • devalue npm

    Affected ranges
    • SEMVER: < 5.9.2

    Update to 5.9.2

Original sources

Check your server →