{"cve":"CVE-2024-24558","nvd":{"published":"2024-01-30T20:15:45.690","modified":"2026-06-17T07:14:36.247","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/TanStack/query/commit/f2ddaf2536e8b71d2da88a9310ac9a48c13512a1","https://github.com/TanStack/query/security/advisories/GHSA-997g-27x8-43rf","https://github.com/TanStack/query/commit/f2ddaf2536e8b71d2da88a9310ac9a48c13512a1","https://github.com/TanStack/query/security/advisories/GHSA-997g-27x8-43rf"],"products":["tanstack:react-query-next-experimental"],"source":"nvd","synced_at":"2026-10-19T21:44:57.175229480+00:00"},"epss":{"cve":"CVE-2024-24558","score":0.00385,"percentile":0.32545,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-997g-27x8-43rf","url":"https://osv.dev/vulnerability/GHSA-997g-27x8-43rf","summary":"react-query-streamed-hydration Cross-site Scripting vulnerability","modified":"2026-09-10T03:50:09.287510104Z","packages":[{"ecosystem":"npm","name":"@tanstack/react-query-next-experimental","purl":"pkg:npm/%40tanstack/react-query-next-experimental","ranges":[">=5.0.0 <5.18.0"],"fixed":["5.18.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}