CVE-2025-15265

published 15 Jan 2026 · updated 15 Jan 2026

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

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 5.46.3.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Svelte>=5.46.0 <5.46.35.46.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-15265 severity on Zeptric[![CVE-2025-15265](https://zeptric.io/badge/cve/CVE-2025-15265.svg)](https://zeptric.io/cve/CVE-2025-15265)