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.
References
| Link | Resource |
|---|---|
| https://fluidattacks.com/advisories/lydian | Exploit Third Party Advisory |
| https://fluidattacks.com/advisories/lydian | Exploit Third Party Advisory |
| https://github.com/sveltejs/svelte/security/advisories/GHSA-6738-r8g5-qwp3 | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-01-15 20:16
Updated : 2026-01-23 19:04
NVD link : CVE-2025-15265
Mitre link : CVE-2025-15265
CVE.ORG link : CVE-2025-15265
JSON object : View
Products Affected
svelte
- svelte
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
