Skip to content

CVE-2026-27125 Svelte SSR attribute spreading includes inherited properties from prototype chain

MediumCVSS 5.3 EPSS 0.43%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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