What’s Vulnerable › Vulnerabilities
GHSA-4q55-j62x-fr9h: devalue: Malformed null-prototype object keys bypass __proto__ rejection via property-key coercion
- Severity: medium (CVSS 5.5)
- Exploited in the wild: not listed in CISA KEV
- Public exploit or detection template: none known
- Published: 2026-10-01 · updated 2026-10-01
- Weakness: CWE-1321
Description
This is another instance of https://github.com/sveltejs/devalue/security/advisories/GHSA-mwv9-gp5h-frr4, where some payloads could cause `parse` to create objects with a `__proto__` own property. This on its own is not enough to cause prototype pollution, and indeed this is actually how `JSON.parse` works, but we decided to be a little more defensive here and not allow the creation of objects with `__proto__` own-properties. It is very unlikely for this to cause any issues.
Affected products
- Npm Devalue: before 5.9.3 — fixed in 5.9.3
How to fix
Upgrade to a fixed version: Npm Devalue 5.9.3. Check the vendor advisory for mitigations.
References
- https://github.com/sveltejs/devalue/security/advisories/GHSA-4q55-j62x-fr9h
- https://github.com/sveltejs/devalue/commit/9ec513072e31f45e60d44dad6f0dba9c92bb8675
- https://github.com/sveltejs/devalue
- https://github.com/sveltejs/devalue/releases/tag/v5.9.3
Get alerted when GHSA-4q55-j62x-fr9h or the next vulnerability affects your stack