CVE-2026-27125
published medium CVSS 4.0 · 5.3Svelte SSR attribute spreading includes inherited properties from prototype chain
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sveltejs | — | svelte< 5.51.5 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:H/SI:H/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sveltejs | svelte | < 5.51.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-915 CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes
References
3Provider assertions
2GitHub_M · cna
Svelte SSR attribute spreading includes inherited properties from prototype chain
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d85704d61eb9d73db268e4cf25c97874cdbba15d7d923ed527a5f1061775ba4c
- Ingested
- 23 Sep 2026, 09:07:24 UTC
- Source record
- Official CVE record