react-query-streamed-hydration xss
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| TanStack | query | 5.0.0 to before 5.18.0 | 5.18.0 | Patch available | CNA |
| — | @tanstack/react-query-next-experimental (npm) | 5.0.0 to before 5.18.0 | 5.18.0 | Patch available | GHSA-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
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
- 2026-10-02 Threatist record created from CVE-2024-24558
- 2026-10-03 Alias added: GHSA-997g-27x8-43rf
References
Sources
- CVE-2024-24558 · CVE Program
- CVE-2024-24558 · NVD
- FIRST EPSS
- GHSA-997g-27x8-43rf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences