GHSA-f3cj-j4f6-wq85
GHSA-f3cj-j4f6-wq85 · Svelte: SSR XSS via Insecure Promise Serialization in hydratable
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
Contents of `hydratable` promises were not properly stringified, potentially leading to an XSS exploit. You are vulnerable if all of the following is true: - you are using `hydratable` (an experimental feature at the time of this report) - you are passing attacker-controlled input such that a synchronous value is hydrated, then a promise value, e.g. `hydratable('someKey', () => [synchronousValue, promiseValue])`
CVSS 5.3 · Moyenne · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: node
Produits et versions concernés
svelte npm
- Plages de versions concernées
- SEMVER: ≥ 5.46.0, < 5.55.7
Mettez à jour vers 5.55.7
Sources originales
- https://github.com/sveltejs/svelte/security/advisories/GHSA-f3cj-j4f6-wq85
- https://github.com/sveltejs/svelte/commit/a16ebc67bbcf8f708360195687e1b2719463e1a4
- https://github.com/sveltejs/svelte
- http://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7
- https://osv.dev/vulnerability/GHSA-f3cj-j4f6-wq85