~ / search / GHSA-r2fc-ccr8-96c4

GHSA-r2fc-ccr8-96c4

Next.js has a Cache poisoning vulnerability due to omission of the Vary header

Source: GitHub Advisory Database (reviewed) Low CVE-2025-49005

Packages

EcosystemPackageAffectedFixed in
npm next >= 15.3.0, < 15.3.3 15.3.3

Details

As written in the advisory (Markdown source, shown as plain text).

### Summary A cache poisoning issue in **Next.js App Router >=15.3.0 and < 15.3.3** may have allowed RSC payloads to be cached and served in place of HTML, under specific conditions involving middleware and redirects. This issue has been fixed in **Next.js 15.3.3**. Users on affected versions should **upgrade immediately** and **redeploy** to ensure proper caching behavior. More details: [CVE-2025-49005](https://vercel.com/changelog/cve-2025-49005)

References

External links from the advisory. They lead to third-party sites.