{"id":"CVE-2024-24558","published":"2024-01-30T19:36:48Z","modified":"2024-08-23T18:20:15Z","title":"react-query-streamed-hydration xss","vendor":"TanStack","product":"query","tier":"tail","description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00385,"percentile":0.33402,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/TanStack/query/security/advisories/GHSA-997g-27x8-43rf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/TanStack/query/commit/f2ddaf2536e8b71d2da88a9310ac9a48c13512a1","tags":["x_refsource_MISC"]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":6.68},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"tanstack","affectedVersions":[{"vendor":"TanStack","product":"query","versions":[">=5.0.0, < 5.18.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-08-23T18:05:17.618074Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@tanstack/react-query-next-experimental","vulnerableRanges":[">=5.0.0, <5.18.0"],"patched":["5.18.0"],"from":["GHSA-997g-27x8-43rf"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw exists in the @tanstack/react-query-next-experimental NPM package, which is part of TanStack Query's asynchronous state management and data fetching tooling for the web.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:56Z"},"euvd":{"id":"EUVD-2024-0312","exploited":false,"provenance":"source"}}