next
Affected
- introduced
12.3.5, fixed12.3.6(semver)
Fixed versions
12.3.6
Fix
- Fixed version
12.3.6npm install [email protected]
Advisory
Also known as: CVE-2025-30218
Next.js may leak x-middleware-subrequest-id to external hosts
Summary
In the process of remediating CVE-2025-29927, we looked at other possible exploits of Middleware. We independently verified this low severity vulnerability in parallel with two reports from independent researchers.
Learn more here.
Credit
Thank you to Jinseo Kim kjsman and RyotaK (GMO Flatt Security Inc.) with takumi-san.ai for the responsible disclosure. These researchers were awarded as part of our bug bounty program.
Low Basis: The source's own band: LOW
12.3.5, fixed 12.3.6 (semver)12.3.6
12.3.6npm install [email protected]13.5.9, fixed 13.5.10 (semver)13.5.10
13.5.10npm install [email protected]14.2.25, fixed 14.2.26 (semver)14.2.26
14.2.26npm install [email protected]15.2.3, fixed 15.2.4 (semver)15.2.4
15.2.4npm install [email protected]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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0