Moderate severityNVD Advisory· Published Feb 20, 2026· Updated Feb 25, 2026
Svelte SSR attribute spreading includes inherited properties from prototype chain
CVE-2026-27125
Description
svelte performance oriented web framework. Prior to 5.51.5, 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. This vulnerability is fixed in 5.51.5.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
sveltenpm | < 5.51.5 | 5.51.5 |
Affected products
5- osv-coords4 versionspkg:apk/chainguard/langfuse-3-workerpkg:apk/chainguard/langfuse-fips-3-workerpkg:apk/wolfi/langfuse-3-workerpkg:npm/svelte
< 3.163.0-r0+ 3 more
- (no CPE)range: < 3.163.0-r0
- (no CPE)range: < 3.163.0-r0
- (no CPE)range: < 3.163.0-r0
- (no CPE)range: < 5.51.5
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-crpf-4hrx-3jrpghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-27125ghsaADVISORY
- github.com/sveltejs/svelte/commit/73098bb26c6f06e7fd1b0746d817d2c5ee90755fghsax_refsource_MISCWEB
- github.com/sveltejs/svelte/releases/tag/svelte@5.51.5ghsax_refsource_MISCWEB
- github.com/sveltejs/svelte/security/advisories/GHSA-crpf-4hrx-3jrpghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.