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

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2025-04-14T19:10:42.000Z
- Modified: 2026-06-17T09:11:55.317Z
- Also known as: GHSA-6q87-84jw-cjhp
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- sveltejs kit: >= 2.0.0, < 2.20.6
- @sveltejs/kit (npm): from 2.0.0 before 2.20.6

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://github.com/sveltejs/kit/security/advisories/GHSA-6q87-84jw-cjhp> (web)
- <https://github.com/sveltejs/kit/commit/d3300c6a67908590266c363dba7b0835d9a194cf> (web)
- <https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.20.6> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-32388> (advisory)
- <https://github.com/sveltejs/kit> (package)

## Sources

- CVE List: [CVE-2025-32388](https://www.cve.org/CVERecord?id=CVE-2025-32388), CVE Terms of Use, modified 2025-04-16
- GitHub Advisory Database: [GHSA-6q87-84jw-cjhp](https://github.com/advisories/GHSA-6q87-84jw-cjhp), CC-BY-4.0, modified 2025-04-16
- NVD: [CVE-2025-32388](https://nvd.nist.gov/vuln/detail/CVE-2025-32388), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-32388 · Whole record: https://cve.day/CVE-2025-32388.json · Rebuilt by cve.day 2026-11-25T22:58:56.532Z
