{"id":"CVE-2025-15265","published":"2026-01-15T19:59:41Z","modified":"2026-01-15T20:28:16Z","title":"Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR)","vendor":"Svelte","product":"Svelte","tier":"tail","description":{"text":"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.\nThis issue affects Svelte: from 5.46.0 before 5.46.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00346,"percentile":0.28873,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://fluidattacks.com/advisories/lydian","tags":["third-party-advisory"]},{"url":"https://github.com/sveltejs/svelte/security/advisories/GHSA-6738-r8g5-qwp3","tags":["vendor-advisory"]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":5.77},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"svelte","affectedVersions":[{"vendor":"Svelte","product":"Svelte","versions":[">= 5.46.0, < 5.46.3"]}],"capec":[{"id":"CAPEC-63","name":"Cross-Site Scripting (XSS)"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-15T20:28:05.329081Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"svelte","vulnerableRanges":[">=5.46.0, <5.46.4"],"patched":["5.46.4"],"from":["GHSA-6738-r8g5-qwp3"],"provenance":"source"}],"summary":{"text":"The Svelte framework's server-side rendering of async hydration in version 5.46.0 (before 5.46.3) contains a cross-site scripting flaw: attacker-controlled keys passed to hydratable are embedded inside a script block without HTML-safe escaping. An attacker with network access can exploit this by supplying a crafted key that contains a closing script tag, which requires a user to interact with the affected page, and no authentication is needed to get the injected script to run in the victim's browser.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:53Z"},"euvd":{"id":"EUVD-2026-2733","exploited":false,"provenance":"source"}}