What’s Vulnerable › Vulnerabilities

CVE-2024-24558: react-query-streamed-hydration xss

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

How to fix

Upgrade to a fixed version: TanStack query 5.18.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-24558 or the next vulnerability affects your stack