Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

CVE-2025-15265

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Svelte Svelte

Default version status: unaffected

  • 5.46.0 to < 5.46.3affected

References