Vulnerability · Published Feb 20, 2026 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity security flaw in svelte from sveltejs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.3Medium
Exploit odds (30 days)0.4%top 62.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmsvelte5.51.5GHSA-crpf-4hrx-3jrp

Affected products (as reported)

VendorProductVersions
sveltejs svelte < 5.51.5

Weakness: CWE-915 · 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

References