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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-6738-r8g5-qwp3 svelte vulnerable to Cross-site Scripting
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 15 Jan 2026 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 15 Jan 2026 20:15:00 +0000

Type Values Removed Values Added
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.
Title Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR)
First Time appeared Svelte
Svelte svelte
Weaknesses CWE-79
CPEs cpe:2.3:a:svelte:svelte:*:*:linux:*:*:*:*:*
cpe:2.3:a:svelte:svelte:*:*:macos:*:*:*:*:*
cpe:2.3:a:svelte:svelte:*:*:windows:*:*:*:*:*
Vendors & Products Svelte
Svelte svelte
References
Metrics cvssV4_0

{'score': 5.3, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Fluid Attacks

Published:

Updated: 2026-01-15T20:28:16.479Z

Reserved: 2025-12-29T15:31:42.980Z

Link: CVE-2025-15265

cve-icon Vulnrichment

Updated: 2026-01-15T20:28:08.193Z

cve-icon NVD

Status : Received

Published: 2026-01-15T20:16:03.490

Modified: 2026-01-15T20:16:03.490

Link: CVE-2025-15265

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses