XSS Vulnerability in SvelteKit Framework Affects Web Application Development
CVE-2025-32388
5.4MEDIUM
What is CVE-2025-32388?
SvelteKit, a framework known for building robust web applications, is susceptible to a cross-site scripting (XSS) vulnerability prior to version 2.20.6. This flaw arises when developers improperly handle unsanitized search parameter names, particularly within server load functions that iterate over event.url.searchParams. An attacker can exploit this vulnerability by crafting a malicious URL, tricking users into clicking a link that enables the execution of harmful scripts in their browsers. Users of SvelteKit should update to version 2.20.6 or later to mitigate this risk.
Affected Version(s)
kit >= 2.0.0, < 2.20.6
