svelte
Affected
- introduced
0, fixed5.51.5(semver)
Fixed versions
5.51.5
Fix
- Fixed version
5.51.5npm install [email protected]
Advisory
Also known as: CVE-2026-27125
Svelte SSR attribute spreading includes inherited properties from prototype chain
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.
Medium Basis: The source's own band: MODERATE
0, fixed 5.51.5 (semver)5.51.5
5.51.5npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0