GHSA-m9j8-jcmv-hp69

Suggest an improvement
Source
https://github.com/advisories/GHSA-m9j8-jcmv-hp69
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-m9j8-jcmv-hp69/GHSA-m9j8-jcmv-hp69.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-m9j8-jcmv-hp69
Aliases
Published
2026-11-16T14:59:00Z
Modified
2026-11-16T15:15:04Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
SvelteKit: Build-time server-only module import guard could fail, resulting in server secrets being statically replaced in client bundle
Details

Under certain circumstances, server-only imports, which typically cannot be included in the client bundle, could make their way into it, potentially exposing secrets. This could only occur when those server-only imports were made through src/params.js.

Database specific
{
    "cwe_ids":  [
        "CWE-200",
        "CWE-668"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-11-16T14:59:00Z",
    "nvd_published_at":  "2026-11-13T20:18:56Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / @sveltejs/kit

Package

Name
@sveltejs/kit
View open source insights on deps.dev
Purl
pkg:npm/%40sveltejs/kit

Affected ranges

Type
SEMVER
Events
Introduced
3.0.0
Fixed
3.1.1

Database specific

last_known_affected_version_range
"<= 3.1.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-m9j8-jcmv-hp69/GHSA-m9j8-jcmv-hp69.json"