GitHub Advisoryadvisory · npm
GHSA-r2fc-ccr8-96c4 Next.js has a Cache poisoning vulnerability due to omission of the Vary header
LOW
Official page ↗
- Aliases
- CVE-2025-49005
- Ecosystem
- npm
- Packages
- next
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-444
- Reviewed
- 2025-07-03
Affected packages
• npm next: >= 15.3.0, < 15.3.3 → fixed in 15.3.3
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
Related
Alias · CVE (1)
- CVE-2025-49005 Next.js is a React framework for building full-stack web applications. vulnerability
Weakness · CWE (1)
- CWE-444 Inconsistent Interpretation of HTTP Requests weakness
References
- https://github.com/vercel/next.js/security/advisories/GHSA-r2fc-ccr8-96c4 web
- https://nvd.nist.gov/vuln/detail/CVE-2025-49005 advisory
- https://github.com/vercel/next.js/issues/79346 web
- https://github.com/vercel/next.js/pull/79939 web
- https://github.com/vercel/next.js/commit/ec202eccf05820b60c6126d6411fe16766ecc066 web
- https://github.com/vercel/next.js package
- https://github.com/vercel/next.js/releases/tag/v15.3.3 web
- https://vercel.com/changelog/cve-2025-49005 web