Skip to content

CVE-2025-32388 SvelteKit allows XSS via tracked search_params

MediumCVSS 5.4 EPSS 0.57%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
sveltejs @sveltejs/kit(npm) >= 2.0.0, < 2.20.6 2.20.6 Fixed
sveltejs @sveltejs/kit = >= 2.0.0, < 2.20.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
sveltejs @sveltejs/kit(npm) >= 2.0.0, < 2.20.6 2.20.6
sveltejs @sveltejs/kit = >= 2.0.0, < 2.20.6 No fix listed

References