CVE-2025-32388 SvelteKit allows XSS via tracked search_params
MediumCVSS 5.4
EPSS 0.57%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| sveltejs @sveltejs/kit(npm) | >= 2.0.0, < 2.20.6 | 2.20.6 | Fixed |
| sveltejs @sveltejs/kit | = >= 2.0.0, < 2.20.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sveltejs @sveltejs/kit(npm) | >= 2.0.0, < 2.20.6 | 2.20.6 |
| sveltejs @sveltejs/kit | = >= 2.0.0, < 2.20.6 | No fix listed |
References
- https://github.com/sveltejs/kit/security/advisories/GHSA-6q87-84jw-cjhp vendor-advisory
- https://github.com/sveltejs/kit/commit/d3300c6a67908590266c363dba7b0835d9a194cf patch
- https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.20.6
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product