SvelteKit allows XSS via tracked search_params
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to 2.20.6 , unsanitized search param names cause XSS vulnerability. You are affected if you iterate over all entries of event.url.searchParams inside a server load function. Attackers can exploit it by crafting a malicious URL and getting a user to click a link with said URL. This vulnerability is fixed in 2.20.6.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sveltejs | kit | 2.0.0 to before 2.20.6 | 2.20.6 | Patch available | CNA |
| — | @sveltejs/kit (npm) | 2.0.0 to before 2.20.6 | 2.20.6 | Patch available | GHSA-6q87-84jw-cjhp |
- kit Vendorsveltejs Affected 2.0.0 to before 2.20.6 Fixed in 2.20.6 Patch available CNA
- @sveltejs/kit (npm) Vendor— Affected 2.0.0 to before 2.20.6 Fixed in 2.20.6 Patch available GHSA-6q87-84jw-cjhp
Remediation
- Fix · CNA kit (sveltejs) Fixed in 2.20.6
- Fix · GHSA-6q87-84jw-cjhp @sveltejs/kit (npm) Fixed in 2.20.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-32388
- 2026-10-03 Alias added: GHSA-6q87-84jw-cjhp
References
More sveltejs vulnerabilities
- TI-2023-13469 SvelteKit framework has Insufficient CSRF protection for CORS requests CVSS 3.1HIGH 8.8
- TI-2023-13464 SvelteKit has Insufficient Cross-Site Request Forgery Protection CVSS 3.1HIGH 8.8
- TI-2024-15660 Sending a GET or HEAD request with a body crashes SvelteKit CVSS 3.1HIGH 7.5
- TI-2024-30159 Potential mXSS vulnerability due to improper HTML escaping in svelte CVSS 3.1MEDIUM 6.1
- TI-2025-13940 Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR) CVSS 4.0MEDIUM 5.3
- TI-2026-86711 Resource exhaustion in devalue npm package via sparse arrays CVSS 4.0HIGH 8.7
Sources
- CVE-2025-32388 · CVE Program
- CVE-2025-32388 · NVD
- FIRST EPSS
- GHSA-6q87-84jw-cjhp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences