NetSight
medium5.3

CVE-2026-27901

Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
npmsvelte<= 5.53.45.53.5

Affected products

VendorProductAffected versions
SvelteSvelte
before 5.53.5
Version 5.53.5

Weakness classification

References