Skip to content
OpenAdvisories
Medium · 5.4 CVE-2025-32388 EUVD-2025-11140GHSA-6q87-84jw-cjhp

SvelteKit allows XSS via tracked search_params

Published Apr 15, 2025 · Updated Apr 16, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
sveltejs kit >= 2.0.0, < 2.20.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @sveltejs/kit >= 2.0.0, < 2.20.6 2.20.6 GHSA-6q87-84jw-cjhp

References