Skip to content

CVE-2026-27902 Svelte Vulnerable to XSS via HTML Comment Injection in SSR Error Boundary Hydration Markers

MediumCVSS 5.3 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Red Hat

Description

Svelte performance oriented web framework. Prior to version 5.53.5, errors from transformError were not correctly escaped prior to being embedded in the HTML output, causing potential HTML injection and XSS if attacker-controlled content is returned from transformError. Version 5.53.5 fixes the issue.

Upgrade path

4 packages: 2 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat/rhdesktop/rh-podman-desktop-ext-bootc-rhel10(Red Hat podman_desktop 0) All versions No fix listed No fix yet
npm svelte(npm) >= 5.53.0, < 5.53.5 5.53.5 Fixed
svelte >= 5.53.0, < 5.53.5 5.53.5 Fixed
sveltejs svelte = >= 5.53.0, < 5.53.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
sveltejs svelte = >= 5.53.0, < 5.53.5 No fix listed
npm svelte(npm) >= 5.53.0, < 5.53.5 5.53.5
redhat/rhdesktop/rh-podman-desktop-ext-bootc-rhel10(Red Hat:podman_desktop:0) All versions No fix listed
redhat/rhoai/odh-dashboard-rhel9(Red Hat:openshift_ai) All versions No fix listed
svelte >= 5.53.0, < 5.53.5 5.53.5

References