{"id":"GHSA-crpf-4hrx-3jrp","revision":"f4cab68df83c4aa9b19e4e43bb1c187b","records":[{"revision":"f4cab68df83c4aa9b19e4e43bb1c187b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-crpf-4hrx-3jrp","aliases":["CVE-2026-27125"],"title":"Svelte SSR attribute spreading includes inherited properties from prototype chain","description":"In server-side rendering, attribute spreading on elements (e.g. `<div {...attrs}>`) enumerates inherited properties from the object's prototype chain rather than only own properties. In environments where `Object.prototype` has already been polluted — a precondition outside of Svelte's control — this can cause unexpected attributes to appear in SSR output or cause SSR to throw errors. Client-side rendering is not affected.","state":0,"publishedAt":"2026-02-19T20:28:49+00:00","modifiedAt":"2026-09-10T03:50:34.8015062+00:00","affected":[{"ecosystem":"npm","name":"svelte","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"5.51.5"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:H/SI:H/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/sveltejs/svelte/security/advisories/GHSA-crpf-4hrx-3jrp","https://nvd.nist.gov/vuln/detail/CVE-2026-27125","https://github.com/sveltejs/svelte/commit/73098bb26c6f06e7fd1b0746d817d2c5ee90755f","https://github.com/sveltejs/svelte","https://github.com/sveltejs/svelte/releases/tag/svelte@5.51.5"],"sourceUrl":"https://github.com/advisories/GHSA-crpf-4hrx-3jrp","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-crpf-4hrx-3jrp","identifiers":["GHSA-crpf-4hrx-3jrp","CVE-2026-27125"]},"retained":false,"historicalAffected":[]}],"coverage":[]}