Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-29927
March 21, 2025
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.
Affected Packages
https://github.com/vercel/next.js.git (GITHUB):
Affected version(s) >=v13.0.0 <v13.5.9
Fix Suggestion:
Update to version v13.5.9
https://github.com/vercel/next.js.git (GITHUB):
Affected version(s) >=v11.1.4 <v12.3.5
Fix Suggestion:
Update to version v12.3.5
https://github.com/vercel/next.js.git (GITHUB):
Affected version(s) >=v14.0.0 <v14.2.25
Fix Suggestion:
Update to version v14.2.25
https://github.com/vercel/next.js.git (GITHUB):
Affected version(s) >=v15.0.0 <v15.2.3
Fix Suggestion:
Update to version v15.2.3
next (NPM):
Affected version(s) >=15.0.0 <15.2.3
Fix Suggestion:
Update to version 15.2.3
next (NPM):
Affected version(s) >=11.1.4 <12.3.5
Fix Suggestion:
Update to version 12.3.5
next (NPM):
Affected version(s) >=13.0.0 <13.5.9
Fix Suggestion:
Update to version 13.5.9
next (NPM):
Affected version(s) >=12.0.0 <12.3.5
Fix Suggestion:
Update to version 12.3.5
next (NPM):
Affected version(s) >=14.0.0 <14.2.25
Fix Suggestion:
Update to version 14.2.25
Additional Notes
The description of this vulnerability differs from MITRE.
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Incorrect Authorization
Improper Authorization
EPSS
Base Score:
92.90