CVE-2024-24558 HIGH

CVE-2024-24558: react-query-streamed-hydration xss

Vendor Tanstack
Product query
Weakness CWE-79 · XSS
Published January 30, 2024
Last update August 23, 2024

CVSS base score

8.2/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 30, 2024 CVE published
August 23, 2024 Record updated