Advisory

GHSA-qpjv-v59x-3qc4

Also known as: CVE-2025-32421

Summary

Next.js Race Condition to Cache Poisoning

Details

Summary
We received a responsible disclosure from Allam Rachid (zhero) for a low-severity race-condition vulnerability in Next.js. This issue only affects the Pages Router under certain misconfigurations, causing normal endpoints to serve pageProps data instead of standard HTML.

Learn more here

Credit
Thank you to Allam Rachid (zhero) for the responsible disclosure. This research was rewarded as part of our bug bounty program.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-05-15 14:12 UTC
Modified
2025-09-26 17:48 UTC

Affected packages and fixes

next

npm · All systems

Affected

  • introduced 0.9.9, fixed 14.2.24 (semver)

Fixed versions

14.2.24

Fix

next

npm · All systems

Affected

  • introduced 15.0.0, fixed 15.1.6 (semver)

Fixed versions

15.1.6

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