next

The React Framework

Version: 12.0.10 registry icon
Safety score
-55
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security Risks of Known Vulnerabilities
CVE-2025-32421
CWE-362
Threat level: LOW | CVSS score: 2

Next.js is a React framework for building full-stack web applications. Versions prior to 14.2.24 and 15.1.6 have a race-condition vulnerability. This issue only affects the Pages Router under certain misconfigurations, causing normal endpoints to serve pageProps data instead of standard HTML. This issue was patched in versions 15.1.6 and 14.2.24 by stripping the x-now-route-matches header from incoming requests. Applications hosted on Vercel's platform are not affected by this issue, as the platform does not cache responses based solely on 200 OK status without explicit cache-control headers. Those who self-host Next.js deployments and are unable to upgrade immediately can mitigate this vulnerability by stripping the x-now-route-matches header from all incoming requests at the content development network and setting cache-control: no-store for all responses under risk. The maintainers of Next.js strongly recommend only caching responses with explicit cache-control headers.



CVE-2025-29927
CWE-285
Threat level: CRITICAL | CVSS score: 9.5

It is possible to bypass authorization checks within a Next.js application, if the authorization check occurs in middleware.



CVE-2025-57822
CWE-918
Threat level: MEDIUM | CVSS score: 5

All users implementing custom middleware logic in self-hosted environments are strongly encouraged to upgrade and verify correct usage of the next() function.



CVE-2025-57752
CWE-524
Threat level: MEDIUM | CVSS score: 5

All users are encouraged to upgrade if they use API routes to serve images that depend on request headers and have image optimization enabled.



CVE-2025-55173
CWE-20
Threat level: MEDIUM | CVSS score: 5

All users relying on images.domains or images.remotePatterns are encouraged to upgrade and verify that external image sources are strictly validated.



Please note that this component is affected by 4 other vulnerabilities
0 Critical  |  3 High  |  1 Medium  |  0 Low  |  0 Suggest

Latest safe major: 15.5.2 Scan your application codebase with Meterian to see all known vulnerabilities in your open source software dependencies.


Stability

Stay updated with the latest patches and releases. Plan your sofware desisgn. Avoid common known vulnerabilities fixed by the open source community

Latest patch release:   --

Latest minor release:   12.3.7

Latest major release:   15.5.2

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

MIT   -   MIT License

Not a wildcard

Not proprietary

OSI Compliant