GitHub Advisoryadvisory · npm
GHSA-8qm3-746x-r74r devalue `uneval`ed code can create objects with polluted prototypes when `eval`ed
LOW
Official page ↗
- Ecosystem
- npm
- Packages
- devalue
- Severity
- Low
- CVSS vector
- 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
- Weaknesses
- CWE-1321
- Reviewed
- 2026-02-19
Affected packages
• npm devalue: < 5.6.3 → fixed in 5.6.3
Description
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.
Related
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness