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

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-02-19T20:28:49.000Z
- Modified: 2026-09-10T03:50:34.801Z
- Also known as: GHSA-crpf-4hrx-3jrp
- Weaknesses: CWE-915
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- sveltejs svelte: < 5.51.5
- svelte (npm): before 5.51.5
- svelte svelte: before 5.51.5

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/sveltejs/svelte/security/advisories/GHSA-crpf-4hrx-3jrp> (vendor-advisory, web)
- <https://github.com/sveltejs/svelte/commit/73098bb26c6f06e7fd1b0746d817d2c5ee90755f> (patch, web)
- <https://github.com/sveltejs/svelte/releases/tag/svelte@5.51.5> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27125> (advisory)
- <https://github.com/sveltejs/svelte> (package)

## Sources

- CVE List: [CVE-2026-27125](https://www.cve.org/CVERecord?id=CVE-2026-27125), CVE Terms of Use, modified 2026-02-25
- GitHub Advisory Database: [GHSA-crpf-4hrx-3jrp](https://github.com/advisories/GHSA-crpf-4hrx-3jrp), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-27125](https://nvd.nist.gov/vuln/detail/CVE-2026-27125), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27125 · Whole record: https://cve.day/CVE-2026-27125.json · Rebuilt by cve.day 2026-11-25T22:59:14.580Z
