Skip to content
OpenAdvisories
High · 8.2 CVE-2024-24558 EUVD-2024-0312GHSA-997g-27x8-43rf

react-query-streamed-hydration xss

Published Jan 30, 2024 · Updated Aug 23, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
TanStack query >=5.0.0, < 5.18.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @tanstack/react-query-next-experimental >= 5.0.0, < 5.18.0 5.18.0 GHSA-997g-27x8-43rf

References