Insertion of Sensitive Information into Log File Affecting @sveltejs/kit package, versions >=3.0.0 <3.1.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SVELTEJSKIT-22552443
  • published15 Nov 2026
  • disclosed13 Nov 2026
  • creditUnknown

Introduced: 13 Nov 2026

NewCVE-2026-128118  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade @sveltejs/kit to version 3.1.1 or higher.

Overview

@sveltejs/kit is a SvelteKit framework and CLI

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File via the build-time server-only module guard in packages/kit/src/exports/vite/plugins/guard.js, which did not treat src/params.js as a client entry point despite parameter matchers being able to run in the browser. Server-only modules imported through src/params.js can consequently enter the client bundle, where statically replaced private environment values or other server secrets are exposed to any client that downloads the bundle.

CVSS Base Scores

version 4.0
version 3.1