Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/next@3.0.0-beta5
purl pkg:npm/next@3.0.0-beta5
Next non-vulnerable version 15.5.18
Latest non-vulnerable version 16.2.6
Risk 4.0
Vulnerabilities affecting this package (7)
Vulnerability Summary Fixed by
VCID-3z94-57r1-t3cq
Aliases:
CVE-2020-5284
GHSA-fq77-7p7r-83rj
Directory Traversal in Next.js
9.3.2
Affected by 5 other vulnerabilities.
VCID-7j2z-1rcx-5kbw
Aliases:
GHSA-5vj8-3v2h-h38v
GMS-2020-750
Remote Code Execution in next
5.1.0
Affected by 6 other vulnerabilities.
VCID-k79u-6118-zyag
Aliases:
CVE-2023-46298
GHSA-c59h-r6p8-q9wc
Next.js before 13.4.20-canary.13 lacks a cache-control header and thus empty prefetch responses may sometimes be cached by a CDN, causing a denial of service to all users requesting the same URL via that CDN.
13.4.20-canary.0
Affected by 28 other vulnerabilities.
13.4.20-canary.13
Affected by 28 other vulnerabilities.
13.5.0
Affected by 26 other vulnerabilities.
VCID-p7a7-ehjr-xqf3
Aliases:
CVE-2025-57752
GHSA-g5qg-72qw-gw5v
Next.js is a React framework for building full-stack web applications. In versions before 14.2.31 and from 15.0.0 to before 15.4.5, Next.js Image Optimization API routes are affected by cache key confusion. When images returned from API routes vary based on request headers (such as Cookie or Authorization), these responses could be incorrectly cached and served to unauthorized users due to a cache key confusion bug. This vulnerability has been fixed in Next.js versions 14.2.31 and 15.4.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.
14.2.31
Affected by 17 other vulnerabilities.
15.4.5
Affected by 22 other vulnerabilities.
VCID-t6n1-e9kc-hqgx
Aliases:
CVE-2025-57822
GHSA-4342-x723-ch2f
Next.js is a React framework for building full-stack web applications. Prior to versions 14.2.32 and 15.4.7, when next() was used without explicitly passing the request object, it could lead to SSRF in self-hosted applications that incorrectly forwarded user-supplied headers. This vulnerability has been fixed in Next.js versions 14.2.32 and 15.4.7. All users implementing custom middleware logic in self-hosted environments are strongly encouraged to upgrade and verify correct usage of the next() function.
14.2.32
Affected by 16 other vulnerabilities.
15.4.7
Affected by 21 other vulnerabilities.
VCID-wdsq-y8uf-2feh
Aliases:
CVE-2025-55173
GHSA-xv57-4mr9-wg8v
Next.js is a React framework for building full-stack web applications. In versions before 14.2.31 and from 15.0.0 to before 15.4.5, Next.js Image Optimization is vulnerable to content injection. The issue allowed attacker-controlled external image sources to trigger file downloads with arbitrary content and filenames under specific configurations. This behavior could be abused for phishing or malicious file delivery. This vulnerability has been fixed in Next.js versions 14.2.31 and 15.4.5.
14.2.31
Affected by 17 other vulnerabilities.
15.4.5
Affected by 22 other vulnerabilities.
VCID-xz2s-8drg-8bam
Aliases:
CVE-2025-32421
GHSA-qpjv-v59x-3qc4
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.
14.2.24
Affected by 21 other vulnerabilities.
15.1.6
Affected by 24 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-13T16:43:39.973634+00:00 GitLab Importer Affected by VCID-7j2z-1rcx-5kbw https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/next/GMS-2020-750.yml 38.6.0
2026-06-12T20:14:53.769642+00:00 GitLab Importer Affected by VCID-t6n1-e9kc-hqgx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/next/CVE-2025-57822.yml 38.6.0
2026-06-12T20:14:45.205986+00:00 GitLab Importer Affected by VCID-wdsq-y8uf-2feh https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/next/CVE-2025-55173.yml 38.6.0
2026-06-12T20:14:26.345073+00:00 GitLab Importer Affected by VCID-p7a7-ehjr-xqf3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/next/CVE-2025-57752.yml 38.6.0
2026-06-12T20:01:37.352439+00:00 GitLab Importer Affected by VCID-xz2s-8drg-8bam https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/next/CVE-2025-32421.yml 38.6.0
2026-06-12T19:09:11.398083+00:00 GitLab Importer Affected by VCID-k79u-6118-zyag https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/next/CVE-2023-46298.yml 38.6.0
2026-06-12T17:19:17.315823+00:00 GitLab Importer Affected by VCID-3z94-57r1-t3cq https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/next/CVE-2020-5284.yml 38.6.0