Vulnerability 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 Score
MEDIUM
Related Weaknesses (CWE)
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
FAQ
What is CVE-2025-32388?
CVE-2025-32388 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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 iter...
How severe is CVE-2025-32388?
CVE-2025-32388 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-32388?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.