GitHub Advisoryadvisory · npm
GHSA-mcm9-63f2-9j32 devalue: Repeated primitive strings cause quadratic expansion in uneval
HIGH
Official page ↗
- Ecosystem
- npm
- Packages
- devalue
- Severity
- High
- CVSS vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Weaknesses
- CWE-400, CWE-409
- Reviewed
- 2026-10-01
Affected packages
• npm devalue: < 5.9.3 → fixed in 5.9.3
Description
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.