CVE-2025-15265 Details
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.
A reflected cross-site scripting vulnerability has been identified in Svelte versions 5.46.0 prior to 5.46.3. This issue arises during asynchronous hydration when keys controlled by an attacker are passed to the hydratable function. The untrusted key is inserted into a script block in the server-rendered HTML without proper escaping, allowing the script tag to be prematurely closed and arbitrary JavaScript to be injected. This injection could be executed in the context of the user's browser, potentially leading to session theft and account compromise.
Users are advised to upgrade to Svelte version 5.46.4, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://fluidattacks.com/advisories/lydian | [email protected] | ExploitThird Party Advisory |
| https://github.com/sveltejs/svelte/security/advisories/GHSA-6738-r8g5-qwp3 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| svelte svelte | >= 5.46.0, < 5.46.3 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 23, 2026 | Initial Analysis | [email protected] |
| Jan 15, 2026 | New CVE Received | [email protected] |