Skip to main content
Menu
Advisories

Next.js: Cross-user cache disclosure and poisoning in Next.js use cache with binary arguments

GHSA-RHH4-G77R-R9QJPublished Updated GitHub

Description

Next.js App Router applications that pass binary arguments (such as Uint8Array or Blob values) to functions using the use cache directive can produce identical cache keys for distinct arguments, allowing cached results to be shared across users — cross-user disclosure of cached data or cache poisoning. This affects applications using use cache with binary arguments.

Affected versions

References