CVE-2024-24558

    Dashboard / Vulnerabilities / CVE-2024-24558

    CVE-2024-24558

    Published: 30 Jan 2024Last Modified: 28 Oct 2026

    Summary: react-query-streamed-hydration xss

    Details: 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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 3be9b4580ef8face761e354e5dc57bb56c9ff4a1

    Affected versions

    v5.17.22
    v5.17.21
    v5.17.20
    v5.17.19
    v5.17.18
    v5.17.17
    v5.17.16
    v5.17.15
    v5.17.14
    v5.17.13
    v5.17.12
    v5.17.11
    v5.17.10
    v5.17.9
    v5.17.8
    v5.17.7
    v5.17.6
    v5.17.5
    v5.17.4
    v5.17.3
    v5.17.2
    v5.17.1
    v5.17.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High