CVE-2025-32388
@sveltejs/kit vulnerable to Cross-site Scripting via tracked search_params
Overview
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.
Source: OX vulnerability database
Severity
5.4 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | @sveltejs/kit | >=2.0.0, <2.20.6 | 2.20.6 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/sveltejs/kit
- 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
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-32388
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.