{"id":"CVE-2025-32388","published":"2025-04-15T22:32:06Z","modified":"2025-04-16T13:33:47Z","title":"SvelteKit allows XSS via tracked search_params","vendor":"sveltejs","product":"kit","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00572,"percentile":0.41127,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/sveltejs/kit/security/advisories/GHSA-6q87-84jw-cjhp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sveltejs/kit/commit/d3300c6a67908590266c363dba7b0835d9a194cf","tags":["x_refsource_MISC"]},{"url":"https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.20.6","tags":["x_refsource_MISC"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":8.23},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"sveltejs","affectedVersions":[{"vendor":"sveltejs","product":"kit","versions":[">= 2.0.0, < 2.20.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-16T13:33:24.850741Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@sveltejs/kit","vulnerableRanges":[">=2.0.0, <2.20.6"],"patched":["2.20.6"],"from":["GHSA-6q87-84jw-cjhp"],"provenance":"source"}],"summary":{"text":"The SvelteKit web framework (sveltejs kit) contains a cross-site scripting flaw: unsanitized search parameter names are reflected into pages, affecting applications that iterate over all entries of event.url.searchParams inside a server load function. An attacker can craft a malicious URL and trick a user into clicking it, with no authentication required, to run script in the victim's browser, which requires user interaction and the vulnerable server-side pattern to be in place.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:25Z"},"euvd":{"id":"EUVD-2025-11140","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-sveltejs-kit-cve-2024-53262","parents":[{"from":"CVE-2024-53262","to":"CVE-2025-32388","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/kit/src/runtime/server/utils.js"],"commits":["https://github.com/sveltejs/kit/commit/134e36343ef57ed7e6e2b3bb9e7f05ad37865794","https://github.com/sveltejs/kit/commit/d3300c6a67908590266c363dba7b0835d9a194cf"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-23641","published":"2024-01-24","fixed":"2.4.3","kev":false},{"cve":"CVE-2024-53261","published":"2024-11-25","fixed":"2.8.3","kev":false,"link":{"from":"CVE-2024-53261","to":"CVE-2025-32388","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@sveltejs/kit","fromFixed":"2.8.3","toFixed":"2.20.6","daysApart":141}]}},{"cve":"CVE-2024-53262","published":"2024-11-25","fixed":"2.8.3","kev":false},{"cve":"CVE-2025-32388","published":"2025-04-15","fixed":"2.20.6","kev":false},{"cve":"CVE-2025-67647","published":"2026-01-15","fixed":"2.49.5","kev":false,"link":{"from":"CVE-2025-32388","to":"CVE-2025-67647","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@sveltejs/kit","fromFixed":"2.20.6","toFixed":"2.49.5","daysApart":275}]}},{"cve":"CVE-2026-22803","published":"2026-01-15","fixed":"2.49.5","kev":false},{"cve":"CVE-2026-40073","published":"2026-04-10","fixed":"2.57.1","kev":false}],"package":"npm:@sveltejs/kit"}}