What’s Vulnerable › Vulnerabilities
CVE-2025-32388: SvelteKit allows XSS via tracked search_params
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-04-15 · updated 2026-06-17
- Weakness: CWE-79
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.
Affected products
- sveltejs kit: from 2.0.0, < 2.20.6
References
- https://github.com/sveltejs/kit/commit/d3300c6a67908590266c363dba7b0835d9a194cf
- https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.20.6
- https://github.com/sveltejs/kit/security/advisories/GHSA-6q87-84jw-cjhp
Get alerted when CVE-2025-32388 or the next vulnerability affects your stack