CVE-2026-27125
svelte performance oriented web framework. Prior to 5.51.5, in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/sveltejs/svelte/security/advisories/GHSA-crpf-4hrx-3jrp
- github.com/sveltejs/svelte/commit/73098bb26c6f06e7fd1b0746d817d2c5ee90755f
- github.com/sveltejs/svelte/releases/tag/[email protected]
- github.com/advisories/GHSA-crpf-4hrx-3jrp
- nvd.nist.gov/vuln/detail/CVE-2026-27125
- nvd.nist.gov/vuln/detail/CVE-2026-27125
- cve.org/CVERecord?id=CVE-2026-27125
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.