Advisory

GHSA-r2fc-ccr8-96c4

Also known as: CVE-2025-49005

Summary

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

Details

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

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-07-03 20:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

next

npm · All systems

Affected

  • introduced 15.3.0, fixed 15.3.3 (semver)

Fixed versions

15.3.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences