GitHub Advisoryadvisory · npm

GHSA-cfw5-2vxh-hr84 devalue has prototype pollution in devalue.parse and devalue.unflatten

MEDIUM Published 2026-03-12 Modified 2026-03-12 Official page ↗
Aliases
CVE-2026-30226
Ecosystem
npm
Packages
devalue
Severity
Moderate
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Weaknesses
CWE-1321
Reviewed
2026-03-12

Affected packages

• npm devalue: < 5.6.4 → fixed in 5.6.4

Description

In devalue v5.6.3, `devalue.parse` and `devalue.unflatten` were susceptible to prototype pollution via maliciously crafted payloads. Successful exploitation could lead to Denial of Service (DoS) or type confusion.

Related

Alias · CVE (1)

  • CVE-2026-30226 Svelte devalue is a JavaScript library that serializes values into strings when JSON.stringify isn't sufficient for the job. vulnerability

Weakness · CWE (1)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness

References