Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @sveltejs/kit
  4. ›
  5. CVE-2025-32388

CVE-2025-32388: @sveltejs/kit vulnerable to Cross-site Scripting via tracked search_params

April 14, 2025 (updated October 18, 2026)

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.

References

  • github.com/advisories/GHSA-6q87-84jw-cjhp
  • github.com/sveltejs/kit/commit/d3300c6a67908590266c363dba7b0835d9a194cf
  • github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.20.6
  • github.com/sveltejs/kit/security/advisories/GHSA-6q87-84jw-cjhp
  • nvd.nist.gov/vuln/detail/CVE-2025-32388

Code Behaviors & Features

Detect and mitigate CVE-2025-32388 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0.0 before 2.20.6

Fixed versions

  • 2.20.6

Solution

Upgrade to version 2.20.6 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/@sveltejs/kit/CVE-2025-32388.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:50 +0000.