{"id":"CVE-2026-27901","state":"PUBLISHED","title":"Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`","description":"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.","publishedAt":"2026-02-26T00:57:40.269Z","updatedAt":"2026-02-26T14:31:00.714Z","severity":{"score":5.3,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["sveltejs svelte"],"affected":[{"vendor":"sveltejs","product":"svelte","versions":[{"version":"< 5.53.5","status":"affected"}]}],"references":["https://github.com/sveltejs/svelte/security/advisories/GHSA-phwv-c562-gvmh","https://github.com/sveltejs/svelte/commit/0df5abcae223058ceb95491470372065fb87951d","https://github.com/sveltejs/svelte/releases/tag/svelte%405.53.5"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/27xxx/CVE-2026-27901.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-27901","state":"PUBLISHED","datePublished":"2026-02-26T00:57:40.269Z","dateUpdated":"2026-02-26T14:31:00.714Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-24T15:19:29.718Z"},"containers":{"cna":{"title":"Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"sveltejs","product":"svelte","versions":[{"version":"< 5.53.5","status":"affected"}]}],"references":[{"url":"https://github.com/sveltejs/svelte/security/advisories/GHSA-phwv-c562-gvmh","name":"https://github.com/sveltejs/svelte/security/advisories/GHSA-phwv-c562-gvmh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sveltejs/svelte/commit/0df5abcae223058ceb95491470372065fb87951d","name":"https://github.com/sveltejs/svelte/commit/0df5abcae223058ceb95491470372065fb87951d","tags":["x_refsource_MISC"]},{"url":"https://github.com/sveltejs/svelte/releases/tag/svelte%405.53.5","name":"https://github.com/sveltejs/svelte/releases/tag/svelte%405.53.5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-02-26T00:57:40.269Z"},"source":{"advisory":"GHSA-phwv-c562-gvmh","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-26T14:30:46.335897Z","id":"CVE-2026-27901","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-26T14:31:00.714Z"}}]}}}