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

CVE-2025-30218: Next.js may leak x-middleware-subrequest-id to external hosts

lowCVSS 4.0 1.7GHSA-223j-4rm8-mrmf

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.

Published Apr 2, 2025 · Updated Oct 13, 2025

Affected packages

next

Ecosystem
npm
Affected
= 12.3.5
Fixed in
12.3.6
Check
npm ls next

next

Ecosystem
npm
Affected
= 13.5.9
Fixed in
13.5.10
Check
npm ls next

next

Ecosystem
npm
Affected
= 14.2.25
Fixed in
14.2.26
Check
npm ls next

next

Ecosystem
npm
Affected
= 15.2.3
Fixed in
15.2.4
Check
npm ls next

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to Ry0taK, takumi-san-ai.

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