PT-2025-16545 · Sveltekit · Sveltekit
Kkarikos
·
Published
2025-04-14
·
Updated
2026-01-08
·
CVE-2025-32388
CVSS v3.1
5.4
Medium
| Vector | AV: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
Affected Products
Sveltekit