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.
{
"github_reviewed": true,
"github_reviewed_at": "2026-02-19T20:28:49Z",
"cwe_ids": [
"CWE-915"
],
"severity": "MODERATE",
"nvd_published_at": "2026-02-20T23:16:02Z"
}