CVE-2025-32388 Details
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.
A cross-site scripting (XSS) vulnerability has been identified in SvelteKit versions prior to 2.20.6. The issue arises from unsanitized search parameter names, which can be exploited by crafting a malicious URL and getting a user to click it. This vulnerability is present when all entries of 'event.url.searchParams' are iterated over inside a server load function.
Users can update to SvelteKit version 2.20.6 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 15, 2025CISA-ADP
Assessed Apr 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/sveltejs/kit/commit/d3300c6a67908590266c363dba7b0835d9a194cf | [email protected] | Source CodeVendor |
| https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.20.6 | [email protected] | Release NotesVendor |
| https://github.com/sveltejs/kit/security/advisories/GHSA-6q87-84jw-cjhp | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| @sveltejs/kit | >= 2.0.0, < 2.20.5 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 15, 2025 | New CVE Received | [email protected] |
Volerion