Vulnerability GHSA-f3cj-j4f6-wq85

Medium Risk
MEDIUM RISK
CVSS Score: 6.0
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
6 months ago
May 14, 2026 at 08:30 PM UTC
Svelte: SSR XSS via Insecure Promise Serialization in hydratable
>=5.46.0 <5.55.7
>=5.46.0 <5.55.7

Summary

Svelte: SSR XSS via Insecure Promise Serialization in hydratable

Details

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])

Impacted packages

Timeline

Published
6 months ago
May 14, 2026 at 08:30 PM UTC
Fixed (5.55.7)
6 months ago
May 15, 2026 at 06:01 AM UTC
Last Modified
6 months ago
May 14, 2026 at 08:49 PM UTC