# CVE-2025-15265: Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR)

- Severity: Medium 5.3 (CVSS:4.0, scored by Fluid Attacks) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-15T19:59:41.683Z
- Modified: 2026-06-17T08:37:29.597Z
- Also known as: GHSA-6738-r8g5-qwp3
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: Fluid Attacks

## 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.

(As written by CVE List.)

## Affected

- svelte: from 5.46.0 before 5.46.3
- svelte (npm): from 5.46.0 before 5.46.4
- svelte svelte: from 5.46.0 before 5.46.3

## Every score

- Fluid Attacks: CVSS:4.0 5.3 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`
- GitHub: CVSS:4.0 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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://fluidattacks.com/advisories/lydian> (exploit, patch, third-party-advisory, web)
- <https://github.com/sveltejs/svelte/security/advisories/GHSA-6738-r8g5-qwp3> (third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-15265> (advisory)
- <https://github.com/sveltejs/svelte/commit/ef81048e238844b729942441541d6dcfe6c8ccca> (web)
- <https://github.com/sveltejs/svelte> (package)
- <https://github.com/sveltejs/svelte/releases/tag/svelte%405.46.4> (web)

## Sources

- CVE List: [CVE-2025-15265](https://www.cve.org/CVERecord?id=CVE-2025-15265), CVE Terms of Use, modified 2026-01-15
- GitHub Advisory Database: [GHSA-6738-r8g5-qwp3](https://github.com/advisories/GHSA-6738-r8g5-qwp3), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2025-15265](https://nvd.nist.gov/vuln/detail/CVE-2025-15265), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-15265 · Whole record: https://cve.day/CVE-2025-15265.json · Rebuilt by cve.day 2026-11-25T22:59:10.652Z
