Vulnerability
CVE-2026-27125
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.
11 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-2m5q-gm28-rq2m
- CGA-38hg-6mhq-r654
- CGA-4w8p-jhwx-ph24
- CGA-86w8-mpv8-5q5f
- CGA-9g93-5542-ff46
- CGA-cvx2-5hmq-p7m8
- CGA-m3hw-6f9q-hgrp
- CGA-pv83-rmrj-cvg3
- CGA-px37-vqh6-33cj
- CGA-qfj4-xfw6-jqw5
-
GHSA-crpf-4hrx-3jrp
Svelte SSR attribute spreading includes inherited properties from prototype chain