CVE-2024-24558: TanStack React-Query-Next-Experimental

Medium severity, CVSS 6.1. EPSS: 0.4% chance of exploitation in the next 30 days.

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 products

  • TanStack React-Query-Next-Experimental: from 5.0.0, before 5.18.0 (fixed in 5.18.0)

Published 2024-01-30. Last modified 2026-06-17.