Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/next@9.5.5
purl pkg:npm/next@9.5.5
Next non-vulnerable version 15.5.15
Latest non-vulnerable version 16.2.6
Risk 4.0
Vulnerabilities affecting this package (7)
Vulnerability Summary Fixed by
VCID-471k-npa7-wqhx
Aliases:
CVE-2025-55173
GHSA-xv57-4mr9-wg8v
Next.js Content Injection Vulnerability for Image Optimization A vulnerability in **Next.js Image Optimization** has been fixed in **v15.4.5** and **v14.2.31**. 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. All users relying on `images.domains` or `images.remotePatterns` are encouraged to upgrade and verify that external image sources are strictly validated. More details at [Vercel Changelog](https://vercel.com/changelog/cve-2025-55173)
14.2.31
Affected by 8 other vulnerabilities.
15.4.5
Affected by 9 other vulnerabilities.
VCID-4wd3-rj51-ykdx
Aliases:
CVE-2024-51479
GHSA-7gfc-8cq8-jh5f
Next.js authorization bypass vulnerability If a Next.js application is performing authorization in middleware based on pathname, it was possible for this authorization to be bypassed.
14.2.15
Affected by 14 other vulnerabilities.
VCID-5c7e-4dkw-63fg
Aliases:
CVE-2025-57822
GHSA-4342-x723-ch2f
Next.js Improper Middleware Redirect Handling Leads to SSRF A vulnerability in **Next.js Middleware** has been fixed in **v14.2.32** and **v15.4.7**. The issue occurred when request headers were directly passed into `NextResponse.next()`. In self-hosted applications, this could allow Server-Side Request Forgery (SSRF) if certain sensitive headers from the incoming request were reflected back into the response. All users implementing custom middleware logic in self-hosted environments are strongly encouraged to upgrade and verify correct usage of the `next()` function. More details at [Vercel Changelog](https://vercel.com/changelog/cve-2025-57822)
14.2.32
Affected by 7 other vulnerabilities.
15.4.7
Affected by 8 other vulnerabilities.
VCID-cqhe-wty9-5qec
Aliases:
CVE-2025-57752
GHSA-g5qg-72qw-gw5v
Next.js Affected by Cache Key Confusion for Image Optimization API Routes A vulnerability in Next.js Image Optimization has been fixed in v15.4.5 and v14.2.31. 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. All users are encouraged to upgrade if they use API routes to serve images that depend on request headers and have image optimization enabled. More details at [Vercel Changelog](https://vercel.com/changelog/cve-2025-57752)
14.2.31
Affected by 8 other vulnerabilities.
15.4.5
Affected by 9 other vulnerabilities.
VCID-ffry-2c7p-vyhp
Aliases:
CVE-2026-29057
GHSA-ggv3-7p47-pfv8
next.js: Next.js: HTTP request smuggling in rewrites
15.5.13
Affected by 2 other vulnerabilities.
16.1.7
Affected by 1 other vulnerability.
VCID-gw2b-uwg6-sba6
Aliases:
CVE-2023-46298
GHSA-c59h-r6p8-q9wc
Next.js missing cache-control header may lead to CDN caching empty reply 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 20 other vulnerabilities.
13.4.20-canary.13
Affected by 20 other vulnerabilities.
13.5.0
Affected by 18 other vulnerabilities.
VCID-qkfv-k941-7uh9
Aliases:
CVE-2025-32421
GHSA-qpjv-v59x-3qc4
Next.js Race Condition to Cache Poisoning **Summary** We received a responsible disclosure from Allam Rachid (zhero) for a low-severity race-condition vulnerability in Next.js. This issue only affects the **Pages Router** under certain misconfigurations, causing normal endpoints to serve `pageProps` data instead of standard HTML. [Learn more here](https://vercel.com/changelog/cve-2025-32421) **Credit** Thank you to **Allam Rachid (zhero)** for the responsible disclosure. This research was rewarded as part of our bug bounty program.
14.2.24
Affected by 12 other vulnerabilities.
15.1.6
Affected by 14 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-06T07:29:30.661519+00:00 GitLab Importer Affected by VCID-ffry-2c7p-vyhp https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/next/CVE-2026-29057.yml 38.6.0
2026-06-06T06:03:45.767589+00:00 GitLab Importer Affected by VCID-5c7e-4dkw-63fg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/next/CVE-2025-57822.yml 38.6.0
2026-06-06T06:03:30.696862+00:00 GitLab Importer Affected by VCID-471k-npa7-wqhx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/next/CVE-2025-55173.yml 38.6.0
2026-06-06T06:03:09.516804+00:00 GitLab Importer Affected by VCID-cqhe-wty9-5qec https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/next/CVE-2025-57752.yml 38.6.0
2026-06-06T05:49:48.782100+00:00 GitLab Importer Affected by VCID-qkfv-k941-7uh9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/next/CVE-2025-32421.yml 38.6.0
2026-06-06T04:15:09.956157+00:00 GitLab Importer Affected by VCID-gw2b-uwg6-sba6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/next/CVE-2023-46298.yml 38.6.0
2026-06-04T16:22:52.426490+00:00 GitLab Importer Affected by VCID-4wd3-rj51-ykdx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/next/CVE-2024-51479.yml 38.6.0