Read the docs
TI-2024-16179 Aliases CVE-2024-24558GHSA-997g-27x8-43rf

react-query-streamed-hydration xss

Priority MEDIUM 42CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00385 32nd percentileScored 2026-11-07
Fix Fixed query (TanStack): 5.18.0@tanstack/react-query-next-experimental (npm): 5.18.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
TanStackquery5.0.0 to before 5.18.05.18.0Patch availableCNA
—@tanstack/react-query-next-experimental (npm)5.0.0 to before 5.18.05.18.0Patch availableGHSA-997g-27x8-43rf
  • query VendorTanStack Affected 5.0.0 to before 5.18.0 Fixed in 5.18.0 Patch available CNA
  • @tanstack/react-query-next-experimental (npm) Vendor— Affected 5.0.0 to before 5.18.0 Fixed in 5.18.0 Patch available GHSA-997g-27x8-43rf

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:tanstack:react-query-next-experimental:*:*:*:*:*:node.js:*:*5.0.0 to before 5.18.0VulnerableTanStack
  • cpe:2.3:a:tanstack:react-query-next-experimental:*:*:*:*:*:node.js:*:* Versions 5.0.0 to before 5.18.0 Vulnerable ·TanStack

Remediation

  • Fix · CNA query (TanStack) Fixed in 5.18.0
  • Fix · GHSA-997g-27x8-43rf @tanstack/react-query-next-experimental (npm) Fixed in 5.18.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-24558
  2. 2026-10-03 Alias added: GHSA-997g-27x8-43rf

References

Sources