Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR)
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-15265
Credits & Attribution
The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:
- Camilo Vera
Affected Vendor
Svelte
View all reports →