CVE-2025-32388 MEDIUM

CVE-2025-32388: SvelteKit allows XSS via tracked search_params

Vendor Sveltejs
Product kit
Weakness CWE-79 · XSS
Published April 15, 2025
Last update April 16, 2025

CVSS base score

5.4/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 15, 2025 CVE published
April 16, 2025 Record updated