CVE 5.3 MEDIUM

Svelte 5.46.0 – Hydratable Key Script-Breakout XSS (SSR)_CVE-2025-15265

5.3 / 10
MEDIUM
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

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.

Basic Information

ID CVE-2025-15265
Source Fluid Attacks
Published Jan 15, 2026 at 19:59
Modified Jan 15, 2026 at 20:28

Affected Product

Vendor Svelte
Product Svelte
Version 5.46.0
Affected Versions Svelte Svelte 5.46.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.