Live threats

All CVEs / Svelte

CVE-2026-27125Svelte

Medium 5.3

Priority
32
CVSS 4.0
5.3
EPSS
—
Auth required
Yes
Published
Feb 20, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-915
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Svelte.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm svelte < 5.51.5 5.51.5 npm install svelte@5.51.5

Per OSV / GitHub Advisories (GHSA-crpf-4hrx-3jrp). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sveltesvelte< 5.51.5

Official sources

References

Links published by the sources. Open them with care.