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.
Published: 2026-01-15
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-6738-r8g5-qwp3 svelte vulnerable to Cross-site Scripting
History

Fri, 23 Jan 2026 19:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:*

Fri, 16 Jan 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

threat_severity

Moderate


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'}


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 : Analyzed

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

Modified: 2026-01-23T19:04:53.167

Link: CVE-2025-15265

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-01-15T19:59:41Z

Links: CVE-2025-15265 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses