CVE-2025-15265
published medium CVSS 4.0 · 5.3Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Svelte | — | svelteSvelte · 5.46.0 to < 5.46.3 · Other versions: unaffected · Platforms: Windows, Linux, MacOS | Affected | Not stated | Fluid Attacks |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- Fluid Attacks · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Svelte | Svelte | 5.46.0 to < 5.46.3 (affected · custom)Default: unaffected | Fluid Attacks · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')
References
2Provider assertions
2Fluid Attacks · cna
Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1dc61ac6f8662aaacacf48bb167a0a58638fa4d1dd3e8e2edc1c024d97a03063
- Ingested
- 23 Sep 2026, 08:38:18 UTC
- Source record
- Official CVE record