{"id":"CVE-2026-27901","published":"2026-02-26T00:57:40Z","modified":"2026-02-26T14:31:00Z","title":"Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`","vendor":"sveltejs","product":"svelte","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00263,"percentile":0.18256,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/sveltejs/svelte/security/advisories/GHSA-phwv-c562-gvmh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sveltejs/svelte/commit/0df5abcae223058ceb95491470372065fb87951d","tags":["x_refsource_MISC"]},{"url":"https://github.com/sveltejs/svelte/releases/tag/svelte%405.53.5","tags":["x_refsource_MISC"]}],"priority":{"score":7.4,"factors":[{"name":"EPSS percentile","points":3.65},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"sveltejs","affectedVersions":[{"vendor":"sveltejs","product":"svelte","versions":["< 5.53.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-26T14:30:46.335897Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"svelte","vulnerableRanges":["<5.53.5"],"patched":["5.53.5"],"from":["GHSA-phwv-c562-gvmh"],"provenance":"source"}],"summary":{"text":"The flaw is in Svelte, a web framework, where the contents of the bind:innerText and bind:textContent bindings on contenteditable elements are not properly escaped during server-side rendering, creating an HTML injection and cross-site scripting weakness. An attacker who can supply untrusted data that the application renders as the initial value of one of these bindings on the server can inject script that runs in a victim's browser, which requires that user to interact with the affected page, and the conditions depend on the application rendering such data this way.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:28Z"},"euvd":{"id":"EUVD-2026-8799","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-27121","published":"2026-02-20","fixed":"5.51.5","kev":false},{"cve":"CVE-2026-27122","published":"2026-02-20","fixed":"5.51.5","kev":false},{"cve":"CVE-2026-27125","published":"2026-02-20","fixed":"5.51.5","kev":false},{"cve":"CVE-2026-27901","published":"2026-02-26","fixed":"5.53.5","kev":false},{"cve":"CVE-2026-27902","published":"2026-02-26","fixed":"5.53.5","kev":false},{"cve":"CVE-2026-42567","published":"2026-06-09","fixed":"5.55.7","kev":false,"link":{"from":"CVE-2026-27901","to":"CVE-2026-42567","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:svelte","fromFixed":"5.53.5","toFixed":"5.55.7","daysApart":103}]}},{"cve":"CVE-2026-42573","published":"2026-06-09","fixed":"5.55.7","kev":false,"link":{"from":"CVE-2026-27901","to":"CVE-2026-42573","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:svelte","fromFixed":"5.53.5","toFixed":"5.55.7","daysApart":103}]}},{"cve":"CVE-2026-42599","published":"2026-06-09","fixed":"5.55.7","kev":false,"link":{"from":"CVE-2026-27901","to":"CVE-2026-42599","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:svelte","fromFixed":"5.53.5","toFixed":"5.55.7","daysApart":103}]}}],"package":"npm:svelte"}}