GHSA-crpf-4hrx-3jrp

Suggest an improvement
Source
https://github.com/advisories/GHSA-crpf-4hrx-3jrp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-crpf-4hrx-3jrp/GHSA-crpf-4hrx-3jrp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-crpf-4hrx-3jrp
Aliases
Related
Published
2026-02-19T20:28:49Z
Modified
2026-04-04T20:29:21.550783560Z
Severity
  • 5.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Svelte SSR attribute spreading includes inherited properties from prototype chain
Details

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.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2026-02-19T20:28:49Z",
    "cwe_ids": [
        "CWE-915"
    ],
    "severity": "MODERATE",
    "nvd_published_at": "2026-02-20T23:16:02Z"
}
References

Affected packages

npm / svelte

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.51.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-crpf-4hrx-3jrp/GHSA-crpf-4hrx-3jrp.json"
last_known_affected_version_range
"<= 5.51.4"