CVE-2025-29927
March 21, 2025
Next.js is a React framework for building full-stack web applications. Prior to 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 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.9Fix Suggestion:
Update to version v13.5.9next (NPM):
Affected version(s) >=14.0.0 <14.2.25Fix Suggestion:
Update to version 14.2.25next (NPM):
Affected version(s) >=11.1.4 <12.3.5Fix Suggestion:
Update to version 12.3.5next (NPM):
Affected version(s) >=15.0.0 <15.2.3Fix Suggestion:
Update to version 15.2.3next (NPM):
Affected version(s) >=13.0.0 <13.5.9Fix Suggestion:
Update to version 13.5.9Additional Notes
The description of this vulnerability differs from MITRE.
Related ResourcesĀ (13)
Do you need more information?
Contact UsCVSS 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
EPSS
Base Score:
10.0