همهٔ گزارش‌ها
متوسط

Svelte: SSR XSS via Insecure Promise Serialization in hydratable

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
>= 5.46.0, <= 5.55.6
نسخهٔ اصلاح‌شده
5.55.7

شرح آسیب‌پذیری

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

پیوندها

گزارش‌دهندگان

  • dummdidumm
  • elliott-with-the-longest-name-on-github