{"id":"CVE-2026-123567","aliases":["CVE-2026-123567","GHSA-mwv9-gp5h-frr4"],"related":[],"kind":"vulnerability","state":"published","title":"Sveltejs devalue before 5.6.4 Prototype Injection via parse and unflatten","summary":"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 that, when downstream code merges results via Object.assign, alters the target object's prototype.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 that, when downstream code merges results via Object.assign, alters the target object's prototype.","source":"cvelist"},{"lang":"en","text":"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:\n\n```ts\nconst result = devalue.parse(/* input creating an object with a __proto__ property */);\nconst target = {};\nObject.assign(target, result); // target's prototype is now polluted\n```","format":"markdown","source":"ghsa"}],"published":"2026-03-12T16:38:15.000Z","modified":"2026-11-13T04:17:37.043Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U","rating":"LOW"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"5.6.4","status":"affected"},{"type":"semver","version":"5.6.4","status":"unaffected"}],"vendor":"sveltejs","product":"devalue","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"5.6.4"}],"ecosystem":"npm","package":"devalue","purl":"pkg:npm/devalue","source":"ghsa"}],"references":[{"url":"https://github.com/sveltejs/devalue/security/advisories/GHSA-mwv9-gp5h-frr4","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/sveltejs-devalue-before-5.6.4-prototype-injection-via-parse-and-unflatten","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/sveltejs/devalue/commit/87c1f3ce3759765a061cfe34843ecc4b0711ba8d","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sveltejs/devalue","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/sveltejs/devalue/releases/tag/v5.6.4","tags":["web"],"sources":["ghsa"]}],"credits":["elliott-with-the-longest-name-on-github","KarimPwnz","wim-vercel","mattiasljungstrom"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-13T03:03:43.372Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-123567","url":"https://www.cve.org/CVERecord?id=CVE-2026-123567","licence":"CVE Terms of Use","modified":"2026-11-13T03:03:53.496Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mwv9-gp5h-frr4","url":"https://github.com/advisories/GHSA-mwv9-gp5h-frr4","licence":"CC-BY-4.0","modified":"2026-11-08T10:56:14.491Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-123567","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123567","licence":"Public domain","modified":"2026-11-13T04:17:37.043Z"}],"updatedAt":"2026-11-25T22:59:49.483Z","epss":{"score":0.00289,"percentile":0.23097,"date":"2026-12-01T12:00:22.000Z"}}