VDB
Sign up
HIGH8.2

GHSA-mcm9-63f2-9j32

devalue: Repeated primitive strings cause quadratic expansion in uneval

Quick fix

GHSA-mcm9-63f2-9j32 — devalue: upgrade to the fixed version with the command below.

npm install devalue@5.9.3

Details

Under very constrained circumstances, data that was `parse`d and then passed to `uneval` could turn a small payload into a very large serialized string.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/devalue
Introduced in: 0Fixed in: 5.9.3
Fixnpm install devalue@5.9.3

References