{"id":"CVE-2026-27125","published":"2026-02-20T22:29:45Z","modified":"2026-02-25T21:33:14Z","title":"Svelte SSR attribute spreading includes inherited properties from prototype chain","vendor":"sveltejs","product":"svelte","tier":"tail","description":{"text":"svelte performance oriented web framework. Prior to 5.51.5, 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. This vulnerability is fixed in 5.51.5.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00655,"percentile":0.46115,"provenance":"source"},"cwes":[{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"}],"references":[{"url":"https://github.com/sveltejs/svelte/security/advisories/GHSA-crpf-4hrx-3jrp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sveltejs/svelte/commit/73098bb26c6f06e7fd1b0746d817d2c5ee90755f","tags":["x_refsource_MISC"]},{"url":"https://github.com/sveltejs/svelte/releases/tag/svelte@5.51.5","tags":["x_refsource_MISC"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":9.22},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"sveltejs","affectedVersions":[{"vendor":"sveltejs","product":"svelte","versions":["< 5.51.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-25T21:33:01.018593Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"svelte","vulnerableRanges":["<5.51.5"],"patched":["5.51.5"],"from":["GHSA-crpf-4hrx-3jrp"],"provenance":"source"}],"summary":{"text":"A flaw in Svelte's server-side rendering causes attribute spreading on elements (such as <div {...attrs}>) to enumerate inherited properties from the object's prototype chain rather than only its own properties. An attacker with low privileges on the network can cause unexpected attributes to appear in SSR output or cause SSR to throw errors, but only in environments where Object.prototype has already been polluted by a condition outside Svelte's control, and client-side rendering is not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:17Z"},"euvd":{"id":"EUVD-2026-7765","exploited":false,"provenance":"source"}}