GHSA-r2fc-ccr8-96c4

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

At a glance

Published
Updated
CVE
CVE-2025-49005
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Description

### 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)

Affected packages

PackageVersions
npm · nextintroduced 15.3.0, fixed 15.3.3

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database