CVE-2024-24558Tanstack React-query-next-experimental
Medium 6.1 No auth needed
Follow: this CVE · Tanstack · Tanstack React-query-next-experimental We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 39
- Auth required
- No
- Published
- Jan 30, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for React-query-next-experimental.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @tanstack/react-query-next-experimental |
≥ 5.0.0 < 5.18.0 |
5.18.0 |
npm install @tanstack/react-query-next-experimental@5.18.0 |
Per OSV / GitHub Advisories (GHSA-997g-27x8-43rf). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| tanstack | react-query-next-experimental | ≥ 5.0.0 < 5.18.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Vendor Advisory