Skip to content

CVE-2025-15265 Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR)

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

Description

An SSR XSS exists in async hydration when attacker‑controlled keys are passed to hydratable. The key is embedded inside a <script> block without HTML‑safe escaping, allowing </script> to terminate the script and inject arbitrary JavaScript. This enables remote script execution in users' browsers, with potential for session theft and account compromise.
This issue affects Svelte: from 5.46.0 before 5.46.3.

Upgrade path

3 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.46.0, < 5.46.3; >= 5.46.0, < 5.46.4; >= 5.46.0, <= 5.46.3 5.46.3, 5.46.4 Fixed
svelte >= 5.46.0, < 5.46.3 5.46.3 Fixed

Affected products

ProductAffected versionsFixed in
npm svelte(npm) >= 5.46.0, <= 5.46.3 No fix listed
npm svelte(npm) >= 5.46.0, < 5.46.3 5.46.3
redhat/rhdesktop/rh-podman-desktop-ext-bootc-rhel10(Red Hat:podman_desktop:0) All versions No fix listed
svelte >= 5.46.0, < 5.46.3 5.46.3
npm svelte(npm) >= 5.46.0, < 5.46.4 5.46.4

References