Skip to content

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

MediumCVSS 6.1 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
@tanstack query = >=5.0.0, < 5.18.0; >= 5.0.0, < 5.18.0 5.18.0 Fixed
@tanstack/react-query-next-experimental >= 5.0.0, < 5.18.0 5.18.0 Fixed
@tanstack/react-query-next-experimental(npm) >= 5.0.0, < 5.18.0 5.18.0 Fixed

Affected products

ProductAffected versionsFixed in
@tanstack/react-query-next-experimental(npm) >= 5.0.0, < 5.18.0 5.18.0
@tanstack query = >=5.0.0, < 5.18.0 No fix listed
@tanstack query >= 5.0.0, < 5.18.0 5.18.0
@tanstack/react-query-next-experimental >= 5.0.0, < 5.18.0 5.18.0

References