All vulnerabilities

Servers and applications

CVE-2026-27125

Svelte SSR attribute spreading includes inherited properties from prototype chain

Severity
Medium 5.3
Published
18 Feb 2026
Last changed
18 Feb 2026
Added to UpHeron
3 Nov 2026
Fixed in
5.51.5
Exploit chance
0.4% in the next 30 daysHigher than 37% of CVEs. EPSS by FIRST, 19 Nov 2026
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read some data · Change some data
CVSS 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
Also known as
GHSA-crpf-4hrx-3jrp
Sources
Project advisories (GitHub)

Description

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.

From sveltejs/svelte's security advisory.

Affected software

SoftwareAffected versions
SvelteServers and applications · github:sveltejs/svelte
  • Every version before 5.51.5

About Svelte

JavaScript framework

From Wikidata, CC0 1.0.
Share of all websites
0.1%W3Techs, Nov 2026
Developers who used it in the past year
7.2%Stack Overflow Developer Survey 2025, 2025
Weekly downloads (npm)
9,685,203npm, 15 Nov 2026
GitHub stars
88,754GitHub, 15 Nov 2026
Forks
6,054GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
26 Oct 2026GitHub
Developer
Rich HarrisWikidata
License
MIT LicenseWikidata
Written in
JavaScriptWikidata
First released
26 Nov 2016Wikidata
First published on GitHub
20 Nov 2016GitHub

Release lines

ReleaseLatestSecurity fixes
55.57.3Yes
44.2.20Ended 19 Oct 2024
33.59.2Ended 22 Jun 2023
22.16.1Ended 21 Apr 2019
11.64.1Ended 19 Apr 2018

From endoflife.date.

References