CVE-2025-15265 Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR)
MediumCVSS 5.3
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
3 packages: 2 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/rhdesktop/rh-podman-desktop-ext-bootc-rhel10(Red Hat podman_desktop 0) | All versions | No fix listed | No fix yet |
| npm svelte(npm) | >= 5.46.0, < 5.46.3; >= 5.46.0, < 5.46.4; >= 5.46.0, <= 5.46.3 | 5.46.3, 5.46.4 | Fixed |
| svelte | >= 5.46.0, < 5.46.3 | 5.46.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm svelte(npm) | >= 5.46.0, <= 5.46.3 | No fix listed |
| npm svelte(npm) | >= 5.46.0, < 5.46.3 | 5.46.3 |
| redhat/rhdesktop/rh-podman-desktop-ext-bootc-rhel10(Red Hat:podman_desktop:0) | All versions | No fix listed |
| svelte | >= 5.46.0, < 5.46.3 | 5.46.3 |
| npm svelte(npm) | >= 5.46.0, < 5.46.4 | 5.46.4 |
References
- github.com third-party-advisory vendor-advisory
- github.com patch
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- fluidattacks.com exploit patch third-party-advisory
- github.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2430177 issue-tracking
- www.cve.org
- github.com product