XSS in Tanstack Query
CVE-2024-24558
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.004 (31.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N.
Affected products
- Tanstack Query — versions >=5.0.0, < 5.18.0
- Tanstack React-query-next-experimental
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2024-24558?
- CVE-2024-24558 is a high-severity vulnerability in Tanstack Query, classified under Cross-site Scripting. CVSS score: 8.2/10. Published 2024-01-30.
- How severe is CVE-2024-24558?
- High severity. CVSS v3 base score is 8.2 out of 10.