sveltejs/devalue · Security

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

GHSA ID
GHSA-8qm3-746x-r74r
Severity
low
Published
Updated
CVSS v4
2.1 · CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Description

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

CWEs

References