Skip to content
OpenAdvisories
Medium · 5.3 CVE-2025-15265 EUVD-2026-2733GHSA-6738-r8g5-qwp3

Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR)

Published Jan 15, 2026 · Updated Jan 15, 2026 · Assigned by Fluid Attacks

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.

Affected products

VendorProductAffectedFixed
Svelte Svelte 5.46.0 – < 5.46.3 5.46.3

Affected packages

EcosystemPackageAffectedFixedRecord
npm svelte >= 5.46.0, < 5.46.4 5.46.4 GHSA-6738-r8g5-qwp3

References