lowVulnerability

GHSA-mwv9-gp5h-frr4

In some circumstances, `devalue.parse` and `devalue.unflatten` could emit objects with `__proto__` own properties. This in and of itself is not a security vulnerability (and is possible with, for example, `JSON.parse` as well), but it can result in prototype injection if _downstream_ code handles it incorrectly: ```ts const result = devalue.parse(/* input creating an object with a __proto__ property */); const target = {}; Object.assign(target, result); // target's prototype is now polluted ```

Properties

ghsa_id
GHSA-mwv9-gp5h-frr4
severity
low
summary
Sveltejs devalue's `devalue.parse` and `devalue.unflatten` emit objects with `__proto__` own properties
cve_id
GHSA-mwv9-gp5h-frr4
is_ghsa_only
true
ghsa_published
2026-03-12T16:38:15Z
source_url
https://github.com/advisories/GHSA-mwv9-gp5h-frr4
ghsa_updated
2026-03-12T19:41:57Z

Related Entities (3)

AFFECTS (1)

[Software]npm/devalue

HAS_WEAKNESS (1)

[Weakness]Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph