CVE-2025-15265
MEDIUM 5.3CVSS 4.0svelte vulnerable to Cross-site Scripting
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.
- Published
- 15 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- help@fluidattacks.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-6738-r8g5-qwp3
- Sources
- NVDJSONOSV GHSA-6738-r8g5-qwp3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | help@fluidattacks.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | svelte | sveltecpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:* |
>= 5.46.0, < 5.46.3 | 5.46.3 |
| OSV | npm | svelte | >= 5.46.0, < 5.46.4 | 5.46.4 |
References
- https://fluidattacks.com/advisories/lydian · Exploit, Third Party Advisory, WEB
- https://github.com/sveltejs/svelte/security/advisories/GHSA-6738-r8g5-qwp3 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-15265 · ADVISORY
- https://github.com/sveltejs/svelte/commit/ef81048e238844b729942441541d6dcfe6c8ccca · WEB
- https://github.com/sveltejs/svelte · PACKAGE
- https://github.com/sveltejs/svelte/releases/tag/svelte%405.46.4 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 15 Jan 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 15 Jan 2026)