VDB
Sign up
LOW2.1

GHSA-8qm3-746x-r74r

devalue `uneval`ed code can create objects with polluted prototypes when `eval`ed

Quick fix

GHSA-8qm3-746x-r74r — devalue: upgrade to the fixed version with the command below.

npm install devalue@5.6.3

Details

Under certain circumstances, `uneval`ing untrusted data can produce output code that will create objects with polluted prototypes when later `eval`ed, meaning the output data can be a different shape from the input data.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References