NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

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

lowCVSS 3.1 3.7GHSA-r2fc-ccr8-96c4

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

Published Jul 3, 2025

Affected packages

next

Ecosystem
npm
Affected
>= 15.3.0, < 15.3.3
Fixed in
15.3.3
Check
npm ls next

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries