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.
Recommendation
Update the devalue package to the latest compatible version. Followings are version details:
- Affected version(s): <= 5.9.2
- Patched version(s): 5.9.3
References
Could your website be exposed too?
SmartScanner can check your website for devalue: Malformed null-prototype object keys bypass __proto__ rejection via property-key coercion and gives you actionable findings to investigate.
Start a free scanRelated Issues
- mcp-data-vis vulnerable to denial of service via unsanitized `select` key lookup on `Object.prototype` with `precompile: - Vulnerability
- @stablelib/cbor: Prototype poisoning via `__proto__` map keys in CBOR decoding - Vulnerability
- Flowise: Authenticated arbitrary file write in the `S3 Directory` document loader via unsanitized S3 object keys - Vulnerability
- joi: Prototype pollution via a `__proto__` language key in custom messages - @hapi/joi - CVE-2026-84368


