CVE-2026-27125 Svelte SSR attribute spreading includes inherited properties from prototype chain
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
Description
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.
Upgrade path
4 packages: 2 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/rhdesktop/rh-podman-desktop-ext-bootc-rhel10(Red Hat podman_desktop 0) | All versions | No fix listed | No fix yet |
| npm svelte(npm) | < 5.51.5; <= 5.51.4 | 5.51.5 | Fixed |
| svelte | < 5.51.5 | 5.51.5 | Fixed |
| sveltejs svelte | = < 5.51.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sveltejs svelte | = < 5.51.5 | No fix listed |
| npm svelte(npm) | <= 5.51.4 | No fix listed |
| redhat/rhdesktop/rh-podman-desktop-ext-bootc-rhel10(Red Hat:podman_desktop:0) | All versions | No fix listed |
| svelte | < 5.51.5 | 5.51.5 |
| npm svelte(npm) | < 5.51.5 | 5.51.5 |
References
- https://github.com/sveltejs/svelte/security/advisories/GHSA-crpf-4hrx-3jrp vendor-advisory
- https://github.com/sveltejs/svelte/commit/73098bb26c6f06e7fd1b0746d817d2c5ee90755f patch
- https://github.com/sveltejs/svelte/releases/tag/svelte@5.51.5 product release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2441511 issue-tracking
- www.cve.org
- github.com product