NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

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

mediumCVSS 4.0 5.3GHSA-crpf-4hrx-3jrp

In server-side rendering, attribute spreading on elements (e.g. ) 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.

Published Feb 19, 2026 · Updated Feb 23, 2026

Affected packages

svelte

Ecosystem
npm
Affected
<= 5.51.4
Fixed in
5.51.5
Check
npm ls svelte

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

In server-side rendering, attribute spreading on elements (e.g. `) 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.

Credited to elliott-with-the-longest-name-on-github.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries