PT-2025-16545 · Sveltekit · Sveltekit

·

CVE-2025-32388

·

Published

2025-04-14

·

Updated

2026-01-08

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions SvelteKit versions prior to 2.20.6
Description The issue arises from unsanitized search param names, leading to an XSS vulnerability. This occurs when iterating over all entries of event.url.searchParams inside a server load function. Attackers can exploit this by crafting a malicious URL and getting a user to click on it.
Recommendations For versions prior to 2.20.6, update to version 2.20.6 to resolve the issue. As a temporary workaround, consider avoiding the iteration over all entries of event.url.searchParams inside server load functions until the update is applied.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-32388
GHSA-6Q87-84JW-CJHP

Affected Products

Sveltekit