Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Tanstack | React-Query-Next-Experimental | >= 5.0.0, < 5.18.0 |
Related Weaknesses (CWE)
References
- https://github.com/TanStack/query/commit/f2ddaf2536e8b71d2da88a9310ac9a48c13512aPatch
- https://github.com/TanStack/query/security/advisories/GHSA-997g-27x8-43rfVendor Advisory
- https://github.com/TanStack/query/commit/f2ddaf2536e8b71d2da88a9310ac9a48c13512aPatch
- https://github.com/TanStack/query/security/advisories/GHSA-997g-27x8-43rfVendor Advisory
FAQ
What is CVE-2024-24558?
CVE-2024-24558 is a vulnerability with a CVSS score of 8.2 (HIGH). 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 sc...
How severe is CVE-2024-24558?
CVE-2024-24558 has been rated HIGH with a CVSS base score of 8.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-24558?
Check the references section above for vendor advisories and patch information. Affected products include: Tanstack React-Query-Next-Experimental.