Live threats

All CVEs / Svelte

CVE-2025-15265Svelte

Medium 5.3 No auth needed

Priority
47
CVSS 4.0
5.3
EPSS
0.4%
probability of exploitation in 30 days · percentile 31
Auth required
No
Published
Jan 15, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Svelte.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm svelte ≥ 5.46.0 < 5.46.4 5.46.4 npm install svelte@5.46.4

Per OSV / GitHub Advisories (GHSA-6738-r8g5-qwp3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sveltesvelte≥ 5.46.0 < 5.46.3

Official sources

References

Links published by the sources. Open them with care.