{"id":"CVE-2026-27901","aliases":["CVE-2026-27901","GHSA-phwv-c562-gvmh"],"related":[],"kind":"vulnerability","state":"published","title":"Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`","summary":"Svelte performance oriented web framework. Prior to version 5.53.5, the contents of `bind:innerText` and `bind:textContent` on `contenteditable` elements were not properly escaped. This could enable HTML injection and Cross-Site Scripting (XSS) if rendering untrusted data as the binding's initial value on the server. Version 5.53.5 fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Svelte performance oriented web framework. Prior to version 5.53.5, the contents of `bind:innerText` and `bind:textContent` on `contenteditable` elements were not properly escaped. This could enable HTML injection and Cross-Site Scripting (XSS) if rendering untrusted data as the binding's initial value on the server. Version 5.53.5 fixes the issue.","source":"cvelist"},{"lang":"en","text":"The contents of `bind:innerText` and `bind:textContent` on `contenteditable` elements were not properly escaped. This could enable HTML injection and Cross-site Scripting (XSS) if rendering untrusted data as the binding's initial value on the server.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Framework web Svelte orientado al rendimiento. Antes de la versión 5.53.5, el contenido de `bind:innerText` y `bind:textContent` en elementos `contenteditable` no se escapaba correctamente. Esto podría permitir la inyección de HTML y cross-site scripting (XSS) si se renderizaban datos no confiables como el valor inicial del enlace en el servidor. La versión 5.53.5 corrige el problema.","source":"nvd"}],"published":"2026-02-26T00:57:40.269Z","modified":"2026-09-10T03:50:35.484Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/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:N/UI:P/VC:L/VI:N/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:N/UI:P/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 5.53.5","status":"affected"}],"vendor":"sveltejs","product":"svelte","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.53.5"}],"ecosystem":"npm","package":"svelte","purl":"pkg:npm/svelte","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.53.5"},{"status":"affected","version":"5.53.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-phwv-c562-gvmh","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sveltejs/svelte/commit/0df5abcae223058ceb95491470372065fb87951d","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sveltejs/svelte/releases/tag/svelte%405.53.5","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27901","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sveltejs/svelte","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/sveltejs/svelte/releases/tag/svelte@5.53.5","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-26T14:30:46.335Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-27901","url":"https://www.cve.org/CVERecord?id=CVE-2026-27901","licence":"CVE Terms of Use","modified":"2026-02-26T14:31:00.714Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-phwv-c562-gvmh","url":"https://github.com/advisories/GHSA-phwv-c562-gvmh","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:35.484Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-27901","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27901","licence":"Public domain","modified":"2026-06-17T10:27:50.957Z"}],"updatedAt":"2026-11-25T22:59:14.934Z","epss":{"score":0.00263,"percentile":0.19355,"date":"2026-12-01T12:00:22.000Z"}}