Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-27901 EUVD-2026-8799GHSA-phwv-c562-gvmh

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

Published Feb 26, 2026 · Updated Feb 26, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
sveltejs svelte < 5.53.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling langfuse-3-worker 3.163.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm svelte < 5.53.5 5.53.5 GHSA-phwv-c562-gvmh

References