{"id":"CVE-2026-27125","aliases":["CVE-2026-27125","GHSA-crpf-4hrx-3jrp"],"related":[],"kind":"vulnerability","state":"published","title":"Svelte SSR attribute spreading includes inherited properties from prototype chain","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"svelte framework web orientado al rendimiento. Antes de la versión 5.51.5, en la renderización del lado del servidor, la propagación de atributos en elementos (por ejemplo, ) enumera propiedades heredadas de la cadena de prototipos del objeto en lugar de solo propiedades propias. En entornos donde Object.prototype ya ha sido contaminado — una condición previa fuera del control de Svelte — esto puede causar que aparezcan atributos inesperados en la salida de SSR o que SSR arroje errores. La renderización del lado del cliente no se ve afectada. Esta vulnerabilidad se corrige en la versión 5.51.5.","source":"nvd"}],"published":"2026-02-19T20:28:49.000Z","modified":"2026-09-10T03:50:34.801Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-915"],"affected":[{"ranges":[{"version":"< 5.51.5","status":"affected"}],"vendor":"sveltejs","product":"svelte","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.51.5"}],"ecosystem":"npm","package":"svelte","purl":"pkg:npm/svelte","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.51.5"}],"vendor":"svelte","product":"svelte","cpe":"cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/sveltejs/svelte/security/advisories/GHSA-crpf-4hrx-3jrp","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sveltejs/svelte/commit/73098bb26c6f06e7fd1b0746d817d2c5ee90755f","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sveltejs/svelte/releases/tag/svelte@5.51.5","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27125","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sveltejs/svelte","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-25T21:33:01.018Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-27125","url":"https://www.cve.org/CVERecord?id=CVE-2026-27125","licence":"CVE Terms of Use","modified":"2026-02-25T21:33:14.822Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-crpf-4hrx-3jrp","url":"https://github.com/advisories/GHSA-crpf-4hrx-3jrp","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:34.801Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-27125","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27125","licence":"Public domain","modified":"2026-06-17T10:26:42.657Z"}],"updatedAt":"2026-11-25T22:59:14.580Z","epss":{"score":0.00428,"percentile":0.38942,"date":"2026-12-01T12:00:22.000Z"}}