CVE-2025-15265

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductSvelte
PublishedJan 15, 2026
First seenJan 15, 2026

How to fix

Update
  • svelte svelte5.46.3 or later
  • svelte5.46.4 or later

Affected products

ProductAffected versionsFixed in
svelte svelte5.46.0 ≤ v < 5.46.35.46.3
sveltenpm5.46.0 ≤ v < 5.46.45.46.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.