CVE-2025-49005Next.js has a Cache poisoning vulnerability due to omission of the Vary header
A low-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.7% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.7%
- percentile 49%
- Fix
- Named by a source
- CVE published 3 Jul 2025
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.7% (+1) · Public exploit or proof of concept (+15) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- next (npm): upgrade to 15.3.3 or later on your release line.
- Patch: https://github.com/vercel/next.js/commit/ec202eccf05820b60c6126d6411fe16766ecc066
- Commit / pull request: https://github.com/vercel/next.js/pull/79939
- Advisory: https://github.com/vercel/next.js/security/advisories/GHSA-r2fc-ccr8-96c4
- Advisory: https://vercel.com/changelog/cve-2025-49005
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-49005
Who should check
next (npm) pkg:npm/next
- Affected>= 15.3.0, < 15.3.3Fixed in15.3.3OSV (GHSA-r2fc-ccr8-96c4)
vercel next.js product:vercel/nextjs
- Affected>= 15.3.0, < 15.3.3Affected range ends before15.3.3as published by CNA (CVE List)
- Affected>= 15.3.0, < 15.3.3Affected range ends before15.3.3as published by CPE data (via the NVD API)
vercel vercel product:vercel/vercel
- Affected>= 41.4.1, < 42.2.0Affected range ends before42.2.0as published by CPE data (via the NVD API)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 3.7 LOW (version 3.1)
- Score from
- CNA ([email protected])
- Attack vector
- network
- Attack complexity
- high
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-444
- Exploitation (CISA SSVC)
- poc
- Automatable (CISA SSVC)
- no
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)Next.js is a React framework for building full-stack web applications. In Next.js App Router from 15.3.0 to before 15.3.3 and Vercel CLI from 41.4.1 to 42.2.0, a cache poisoning vulnerability was found. The issue allowed page requests for HTML content to return a React Server Component (RSC) payload instead under certain conditions. When deployed to Vercel, this would only impact the browser cache, and would not lead to the CDN being poisoned. When self-hosted and deployed externally, this could lead to cache poisoning if the CDN does not properly distinguish between RSC / HTML in the cache keys. This issue has been resolved in Next.js 15.3.3.
Update history
- 3 Jul 2025Published
References
- patchhttps://github.com/vercel/next.js/commit/ec202eccf05820b60c6126d6411fe16766ecc066
- exploithttps://github.com/vercel/next.js/issues/79346
- otherhttps://github.com/vercel/next.js/releases/tag/v15.3.3
- advisoryhttps://github.com/vercel/next.js/security/advisories/GHSA-r2fc-ccr8-96c4
- advisoryhttps://vercel.com/changelog/cve-2025-49005
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-49005
- commit / pull requesthttps://github.com/vercel/next.js/pull/79939
- otherhttps://github.com/vercel/next.js
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2025-49005 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-r2fc-ccr8-96c4 (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 38 min ago · osv 37 min ago · nvd 37 min ago · epss 37 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-r2fc-ccr8-96c4