Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-997g-27x8-43rf

Опубликовано: 30 янв. 2024
Источник: github
Github: Прошло ревью
CVSS3: 8.2

Описание

react-query-streamed-hydration Cross-site Scripting vulnerability

Impact

The @tanstack/react-query-next-experimental NPM package is vulnerable to a cross-site scripting vulnerability. To exploit this, an attacker would need to either inject malicious input or arrange to have malicious input be returned from an endpoint.

This vulnerability arises from improper handling of untrusted input when @tanstack/react-query-next-experimental performs server-side rendering of HTML pages. To fix this vulnerability, we implemented appropriate escaping to prevent javascript injection into rendered pages.

Patches

To fix this issue, please update to version 5.18.0 or later.

Workarounds

There are no known workarounds for this issue. Please update to version 5.18.0 or later.

Пакеты

Наименование

@tanstack/react-query-next-experimental

npm
Затронутые версииВерсия исправления

>= 5.0.0, < 5.18.0

5.18.0

EPSS

Процентиль: 65%
0.00496
Низкий

8.2 High

CVSS3

Дефекты

CWE-79

Связанные уязвимости

CVSS3: 8.2
nvd
около 2 лет назад

TanStack Query supplies asynchronous state management, server-state utilities and data fetching for the web. The `@tanstack/react-query-next-experimental` NPM package is vulnerable to a cross-site scripting vulnerability. To exploit this, an attacker would need to either inject malicious input or arrange to have malicious input be returned from an endpoint. To fix this issue, please update to version 5.18.0 or later.

EPSS

Процентиль: 65%
0.00496
Низкий

8.2 High

CVSS3

Дефекты

CWE-79