Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. next
  4. ›
  5. CVE-2025-49005

CVE-2025-49005: Next.js has a Cache poisoning vulnerability due to omission of the Vary header

July 3, 2025

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

References

  • github.com/advisories/GHSA-r2fc-ccr8-96c4
  • github.com/vercel/next.js
  • github.com/vercel/next.js/pull/79939
  • github.com/vercel/next.js/releases/tag/v15.3.3
  • github.com/vercel/next.js/security/advisories/GHSA-r2fc-ccr8-96c4
  • nvd.nist.gov/vuln/detail/CVE-2025-49005
  • vercel.com/changelog/cve-2025-49005

Code Behaviors & Features

Detect and mitigate CVE-2025-49005 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 15.3.0 before 15.3.3

Fixed versions

  • 15.3.3

Solution

Upgrade to version 15.3.3 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Source file

npm/next/CVE-2025-49005.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:10 +0000.