Sveltejs devalue before 5.6.4 Prototype Injection via parse and unflatten
cve-program · CVE-2026-123567
PublishedSveltejs devalue before 5.6.4 contains a prototype injection vulnerability that allows attackers to inject __proto__ own properties into objects returned by devalue.parse and devalue.unflatten. Attackers can supply crafted serialized input that, when downstream code merges results via Object.assign, alters the target object's prototype.
Read the publisher's advisoryeuvd · EUVD-2026-119452
PublishedSveltejs devalue before 5.6.4 contains a prototype injection vulnerability that allows attackers to inject __proto__ own properties into objects returned by devalue.parse and devalue.unflatten. Attackers can supply crafted serialized input that, when downstream code merges results via Object.assign, alters the target object's prototype.
Read the publisher's advisorynvd · CVE-2026-123567
PublishedSveltejs devalue before 5.6.4 contains a prototype injection vulnerability that allows attackers to inject __proto__ own properties into objects returned by devalue.parse and devalue.unflatten. Attackers can supply crafted serialized input that, when downstream code merges results via Object.assign, alters the target object's prototype.
Read the publisher's advisoryosv · GHSA-mwv9-gp5h-frr4
PublishedIn 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 ```
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-123567 · CVE overview and exploitation status
cve-program · CVE-2026-123567
- https://github.com/sveltejs/devalue/security/advisories/GHSA-mwv9-gp5h-frr4
- https://www.vulncheck.com/advisories/sveltejs-devalue-before-5.6.4-prototype-injection-via-parse-and-unflatten
euvd · EUVD-2026-119452
- https://github.com/sveltejs/devalue/security/advisories/GHSA-mwv9-gp5h-frr4
- https://www.vulncheck.com/advisories/sveltejs-devalue-before-5.6.4-prototype-injection-via-parse-and-unflatten
nvd · CVE-2026-123567
- https://github.com/sveltejs/devalue/security/advisories/GHSA-mwv9-gp5h-frr4
- https://www.vulncheck.com/advisories/sveltejs-devalue-before-5.6.4-prototype-injection-via-parse-and-unflatten
osv · GHSA-mwv9-gp5h-frr4
Related changes
Linked by CVE identifier- Sveltejs devalue before 5.6.4 contains a prototype injection vulnerability that allows attackers to inject __proto__ own properties into objects returned by devalue.parse and devalue.unflatten. Attackers can supply crafted serialized input … · Advisory content revised · 14 Nov 2026
- Sveltejs devalue before 5.6.4 Prototype Injection via parse and unflatten · Newly collected advisory · 8 Nov 2026
- Sveltejs devalue's `devalue.parse` and `devalue.unflatten` emit objects with `__proto__` own properties · Advisory content revised · 8 Nov 2026