to terminate the script and inject arbitrary JavaScript. This enables remote script execution in users' browsers, with potential for session theft and account compromise.\nThis issue affects Svelte: from 5.46.0 before 5.46.3.", "datePublished": "2026-01-15T19:59:41Z", "dateModified": "2026-01-15T20:28:16Z", "keywords": "CVE-2025-15265, vulnerability, CVE, security, Svelte, Svelte", "about": { "@type": "SoftwareApplication", "name": "Svelte", "applicationCategory": "SecurityApplication", "operatingSystem": "All" } }
CVE-2025-15265 MEDIUM

CVE-2025-15265: Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR)

Vendor Svelte
Product Svelte
Weakness CWE-79 · XSS
Published January 15, 2026
Last update January 15, 2026

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 15, 2026 CVE published
January 15, 2026 Record updated

Related vulnerabilities

04Related CVE