# CVE-2025-29927

Next.js is a React framework for building full-stack web applications. Starting in version 1.11.4 and prior to versions 12.3.5, 13.5.9, 14.2.25, and 15.2.3, it is possible to bypass authorization checks within a Next.js application, if the authorization check occurs in middleware. If patching to a safe version is infeasible, it is recommend that you prevent external user requests which contain the x-middleware-subrequest header from reaching your Next.js application. This vulnerability is fixed in 12.3.5, 13.5.9, 14.2.25, and 15.2.3.

- Page: https://www.vulneraibility.com/cve/CVE-2025-29927
- CVSS: 9.1
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 99.22% (percentile 99.9)
- Public exploit code: 1 on Exploit-DB · 1 Metasploit module · 129 GitHub proofs of concept · 1 Nuclei template (first 2025-03-22)
- CISA SSVC: exploitation none, automatable yes, technical impact total (assessed 2025-04-08)
- Weakness: CWE-285
- Published: 2025-03-21

## Affected versions

- vercel next.js: affected >= 11.1.4 and < 12.3.5; >= 14.0.0 and < 14.2.25; >= 15.0.0 and < 15.2.3; >= 13.0.0 and < 13.5.9

A version outside these ranges is not a statement that it is unaffected.

## References

- [other] https://github.com/vercel/next.js/security/advisories/GHSA-f82v-jwr5-mffw
- [other] https://github.com/vercel/next.js/commit/52a078da3884efe6501613c7834a3d02a91676d2
- [other] https://github.com/vercel/next.js/commit/5fd3ae8f8542677c6294f32d18022731eab6fe48
- [other] https://github.com/vercel/next.js/releases/tag/v12.3.5
- [other] https://github.com/vercel/next.js/releases/tag/v13.5.9
- [other] http://www.openwall.com/lists/oss-security/2025/03/23/3
- [other] http://www.openwall.com/lists/oss-security/2025/03/23/4
- [other] https://security.netapp.com/advisory/ntap-20250328-0002/

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
