CVE-2026-27125CWE-915

Svelte SSR attribute spreading includes inherited properties from prototype chain

Medium · published February 20, 2026

CVSS v4.0
5.3
EPSS
1%
Percentile
46.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.3 · MEDIUM
Vector
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
EPSS
0.00570 · 46.5th percentile
Weakness
CWE-915 · Improperly Controlled Modification of Dynamically-Determined Object Attributes
Published
2026-02-20T22:29Z
EPSS history
Timeline
  • 20 FEB 22:29Z
    Svelte SSR attribute spreading includes inherited properties from prototype chain
    cvelistv5