Next.js fixes response injection and disclosure flaw in self-hosted apps

  • Next.js
  • injection
  • disclosure

The flaw affects self-hosted applications forwarding fetched responses

Security updates are available in versions 16.4.5 and 15.5.29

The advisory recommends upgrading to patched versions

Next.js disclosed a vulnerability in self-hosted applications that forward fetched responses. The advisory does not specify when the issue was disclosed.

The flaw could allow one client’s response to be injected into another client’s response and could expose information. It affects Next.js versions up to 15.5.28 and versions 16.0.0 through 16.4.4.

Next.js lists versions 15.5.29 and 16.4.5 as patched. The advisory recommends updating to a patched version.