SvelteKit: Private `query.batch` functions could collide, producing unexpected parameter / function combinations
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| sveltejskit | — | Not listed |
| npm@sveltejs/kit |
≥ 2.60.1, < 3.1.1→ 3.1.1 |
3.1.1 |
Original description The description as published by the source.
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. From version 2.60.1 until 3.1.1, applications using the experimental remote functions flag could assign the same generated identifier to separate non-exported query.batch functions. When those private functions shared a request batch, arguments intended for one function could be passed to another function, causing unexpected cross-function processing and possible disclosure of function arguments. This issue is fixed in 3.1.1.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com