next

The React Framework

Version: 13.3.4 registry icon
Safety score
-130
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-2024-39693
CWE-400
Threat level: HIGH | CVSS score: 8

A Denial of Service (DoS) condition was identified in Next.js. Exploitation of the bug can trigger a crash, affecting the availability of the server.



CVE-2026-27980
CWE-400
Threat level: MEDIUM | CVSS score: 5

The default Next.js image optimization disk cache (/_next/image) did not have a configurable upper bound, allowing unbounded cache growth.



CVE-2025-48068
CWE-1385
Threat level: LOW | CVSS score: 2

A low-severity vulnerability in Next.js has been fixed in version 15.2.2. This issue may have allowed limited source code exposure when the dev server was running with the App Router enabled. The vulnerability only affects local development environments and requires the user to visit a malicious webpage while npm run dev is active.



CVE-2025-59471
CWE-400
Threat level: MEDIUM | CVSS score: 5

Strongly consider upgrading to 15.5.10 and 16.1.5 to reduce risk and prevent availability issues in Next applications.



CVE-2024-47831
CWE-674
Threat level: MEDIUM | CVSS score: 5

The image optimization feature of Next.js contained a vulnerability which allowed for a potential Denial of Service (DoS) condition which could lead to excessive CPU consumption.



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-2026-29057
CWE-444
Threat level: MEDIUM | CVSS score: 5

When Next.js rewrites proxy traffic to an external backend, a crafted DELETE/OPTIONS request using Transfer-Encoding: chunked could trigger request boundary disagreement between the proxy and backend. This could allow request smuggling through rewritten routes.



CVE-2024-51479
CWE-285
Threat level: HIGH | CVSS score: 8

If a Next.js application is performing authorization in middleware based on pathname, it was possible for this authorization to be bypassed.



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.



CVE-2026-23864
CWE-400
Threat level: HIGH | CVSS score: 8

A specially crafted HTTP request can be sent to any App Router Server Function endpoint that, when deserialized, may trigger excessive CPU usage, out-of-memory exceptions, or server crashes. This can result in denial of service in unpatched environments.



CVE-2024-56332
CWE-770
Threat level: MEDIUM | CVSS score: 5

A Denial of Service (DoS) attack allows attackers to construct requests that leaves requests to Server Actions hanging until the hosting provider cancels the function execution.



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

Latest safe major: 16.2.1 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:   13.5.11

Latest major release:   16.2.1

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