Live threats

All CVEs / Tanstack

CVE-2024-24558Tanstack React-query-next-experimental

Medium 6.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for React-query-next-experimental.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
tanstackreact-query-next-experimental≥ 5.0.0 < 5.18.0

Official sources

References

Links published by the sources. Open them with care.