Medium severity · published Apr 15, 2025
CVE-2025-32388
SvelteKit allows XSS via tracked search_params
5.4
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 23% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KI
kit · sveltejs
>= 2.0.0, < 2.20.6 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-32388
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-32388
github.com
https://github.com/sveltejs/kit/commit/d3300c6a67908590266c363dba7b0835d9a194cf
github.com
https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.20.6
github.com
https://github.com/sveltejs/kit/security/advisories/GHSA-6q87-84jw-cjhp
More from kit
9.1
CVE-2025-67647
SvelteKit Denial of service and possible SSRF when using prerendering
7.5
CVE-2026-114063
SvelteKit 2.10.0 before 3.0.0 Path Traversal via vite preview on Windows
7.5
CVE-2026-82261
SvelteKit before 2.52.2 CPU Exhaustion via Remote Form Deserialization
7.5
CVE-2026-82260
SvelteKit before 2.52.2 Memory Exhaustion via Remote Form Deserialization
7.5
CVE-2026-82259
SvelteKit 2.49.0 before 2.53.3 Denial of Service via form
