CVE-2025-32388

Medium

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.

SeverityMedium
CVSS5.4
Exploit probability—
Product@sveltejs/kit
PublishedApr 15, 2025
First seenApr 15, 2025

How to fix

Update
  • @sveltejs/kit2.20.6 or later

Affected products

ProductAffected versionsFixed in
@sveltejs/kitnpm2.0.0 ≤ v < 2.20.62.20.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.