GHSA-hgv7-v322-mmgr: @sveltejs/kit `query.batch` Cross-talk Vulnerability
MODERATEGHSA-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
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.
npm install @sveltejs/kit@2.60.1
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
GHSA-hgv7-v322-mmgr Affected @sveltejs/kit Versions
1 component(s)| 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?
Which @sveltejs/kit versions are affected?
What version fixes GHSA-hgv7-v322-mmgr?
Is @sveltejs/kit affected?
What CWE is associated with GHSA-hgv7-v322-mmgr?
How can I check npm dependencies for GHSA-hgv7-v322-mmgr?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}