GHSA-hgv7-v322-mmgr: @sveltejs/kit `query.batch` Cross-talk Vulnerability

MODERATE
CWE-200
Published
Advisory Summary

GHSA-hgv7-v322-mmgr is a MODERATE `query.batch` cross-talk vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting @sveltejs/kit libraries in the npm ecosystem. The issue involves `query.batch` cross-talk. Remediation is available by upgrading affected packages to version 2.60.1.

GHSA-hgv7-v322-mmgr at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-hgv7-v322-mmgr
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product @sveltejs/kit
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-hgv7-v322-mmgr

To remediate this vulnerability, upgrade all affected @sveltejs/kit dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@sveltejs/kit fixed: 2.60.1
npm install @sveltejs/kit@2.60.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @sveltejs/kit

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-hgv7-v322-mmgr, inspect your project dependencies using npm:

npm ls @sveltejs/kit

Analyze the terminal output to locate any version of @sveltejs/kit in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.60.1), your application is affected.

Note: The npm ls @sveltejs/kit command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In @sveltejs/kit, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

`query.batch()` could, under very rare and specific timings, cause concurrent requests from different users to merge and resolve under single request context, enabling cross-user data disclosure.

GHSA-hgv7-v322-mmgr Affected @sveltejs/kit Versions

1 component(s)
Fixed Versions:
2.60.1
Product / Package Ecosystem Affected Versions Fixed Version
@sveltejs/kit
npm
≥ 2.38.0
< 2.60.1
2.60.1

References

Frequently Asked Questions

What is GHSA-hgv7-v322-mmgr?
GHSA-hgv7-v322-mmgr is a security vulnerability in @sveltejs/kit involving `query.batch` cross-talk under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which @sveltejs/kit versions are affected?
Affected versions include releases prior to 2.60.1 across affected packages: @sveltejs/kit.
What version fixes GHSA-hgv7-v322-mmgr?
Upgrading to 2.60.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @sveltejs/kit affected?
Yes, @sveltejs/kit is affected in releases prior to 2.60.1. Upgrade your dependency to 2.60.1 or later.
What CWE is associated with GHSA-hgv7-v322-mmgr?
GHSA-hgv7-v322-mmgr is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check npm dependencies for GHSA-hgv7-v322-mmgr?
Run the dependency tree command: 'npm ls @sveltejs/kit'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hgv7-v322-mmgr",
  "modified" : "2026-07-01T16:44:21Z",
  "published" : "2026-05-21T17:59:05Z",
  "aliases" : [ ],
  "summary" : "@sveltejs/kit: `query.batch` cross-talk",
  "details" : "`query.batch()` could, under very rare and specific timings, cause concurrent requests from different users to merge and resolve under single request context, enabling cross-user data disclosure.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@sveltejs/kit"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.38.0"
      }, {
        "fixed" : "2.60.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.60.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/sveltejs/kit/security/advisories/GHSA-hgv7-v322-mmgr"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sveltejs/kit/commit/dadaefc2e647a0a62f49f3ee8bc7aa46f5e27056"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/sveltejs/kit"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-21T17:59:05Z",
    "nvd_published_at" : null
  }
}