{"id":"GHSA-phwv-c562-gvmh","revision":"10bf7c21aae242d28e2300aaaff3c87e","records":[{"revision":"10bf7c21aae242d28e2300aaaff3c87e","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-phwv-c562-gvmh","aliases":["CVE-2026-27901"],"title":"Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`","description":"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.","state":0,"publishedAt":"2026-02-26T22:24:54+00:00","modifiedAt":"2026-09-10T03:50:35.4841368+00:00","affected":[{"ecosystem":"npm","name":"svelte","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"5.53.5"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/sveltejs/svelte/security/advisories/GHSA-phwv-c562-gvmh","https://nvd.nist.gov/vuln/detail/CVE-2026-27901","https://github.com/sveltejs/svelte/commit/0df5abcae223058ceb95491470372065fb87951d","https://github.com/sveltejs/svelte","https://github.com/sveltejs/svelte/releases/tag/svelte@5.53.5"],"sourceUrl":"https://github.com/advisories/GHSA-phwv-c562-gvmh","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-phwv-c562-gvmh","identifiers":["GHSA-phwv-c562-gvmh","CVE-2026-27901"]},"retained":false,"historicalAffected":[]}],"coverage":[]}