next

Ecosystem: npm

Downloads: 304.74 Mln

Vulnerabilities from the last (months)
  • 7CriticalAffects 19 versions
  • 28HighAffects 68 versions
  • 0MediumAffects 0 versions
  • 33ModerateAffects 75 versions
  • 9LowAffects 16 versions
Severity distribution (all time)
77vulnerabilities
  • Critical7 (9.1%)
  • High28 (36.4%)
  • Medium0 (0.0%)
  • Moderate33 (42.9%)
  • Low9 (11.7%)

Monthly breakdown

  • Critical
  • High
  • Medium
  • Moderate
  • Low
  • 10 vulnerabilities
    • Critical: 2
    • High: 2
    • Medium: 0
    • Moderate: 5
    • Low: 1
  • 3 vulnerabilities
    • Critical: 3
    • High: 0
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 9 vulnerabilities
    • Critical: 0
    • High: 4
    • Medium: 0
    • Moderate: 5
    • Low: 0
  • 13 vulnerabilities
    • Critical: 0
    • High: 7
    • Medium: 0
    • Moderate: 4
    • Low: 2
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 5 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 4
    • Low: 1
  • 3 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 2
    • Low: 0
  • 4 vulnerabilities
    • Critical: 1
    • High: 2
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 3 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 3
    • Low: 0
  • 2 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 1
  • 2 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 0
    • Low: 2
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 0
    • Low: 1
  • 1 vulnerabilities
    • Critical: 1
    • High: 0
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 2 vulnerabilities
    • Critical: 0
    • High: 2
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 0
    • Low: 1
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0

Vulnerabilities (77)

Known vulnerabilities affecting next, based on data from OSV.

Vulnerabilities affecting next
IDSeveritySummaryAffected versionsPublishedSource
GHSA-2464-fhr4-w9xwCriticalNext.js: Unauthenticated Remote Code Execution in Image Optimization API when SVG files are used## Impact A memory-related vulnerability has been discovered in an upstream library used for Image Optimization can lead to possible remote code execution (RCE) when Next.js runs on glibc-based Linux. ## Workaround Ensure the version of `sharp` used by Next.js is greater than or equal to `0.35.5`. Fresh installs automatically get a fixed version of `sharp`. Upgrading Next.js to the patched versions will ensure package managers automatically provide a fixed version of `sharp` to Next.js.
  • >= 10.0.0, < 15.5.28
  • >= 16.0.0, < 16.4.1
GitHub (opens in a new tab)
GHSA-673q-mjm6-r5xrCriticalNext.js: Unauthenticated Remote Code Execution in `use cache` functions returning typed arrays## Impact A vulnerability in applications using App router with Cache Component can lead to remote code execution. The application needs to have a `use cache` function that returns multiple typed arrays. ## Workaround There is no known workaround for affected applications with such `use cache` functions. You should upgrade immediately even if your application does not have similar functions.
  • >= 16.0.0, < 16.4.1
GitHub (opens in a new tab)
GHSA-h694-7cp9-m8p3Moderatenext.js cache leak across root param values in nested 'use cache' functions### Impact With Cache Components enabled (`cacheComponents: true`), a `'use cache'` function that calls another `'use cache'` function that reads a root param can be keyed incorrectly when the inner call is served from an existing entry: the enclosing function's cache key then omits that root param. The enclosing entry is written once and reused for all root param values, so a response for one root param value can serve content produced for a different value — whether the page is prerendered at build time or at runtime, or rendered dynamically. Shared cache headers let downstream caches redis
  • >= 16.3.0, < 16.3.8
GitHub (opens in a new tab)
GHSA-p3m5-59mp-jv5rHighNext.js: Denial of Service in App Router using Server Actions## Impact Crafted requests targeting Next.js applications using App Router with at least one Server Action can lead to excessive CPU usage blocking processing of further requests in the same process. ## Workarounds No workaround exists besides upgrading. Applications using Pages Router or not using Server Actions are not vulnerable.
  • >= 13.0.0, < 15.5.28
  • >= 16.0.0, < 16.4.1
GitHub (opens in a new tab)
GHSA-39w2-rjm5-chcvLowNext.js has information disclosure in development server's Model Context Protocol endpointThe Next.js development server (`next dev`) exposes a Model Context Protocol endpoint that does not verify which website a request originates from, allowing a malicious website visited by the developer to read sensitive development data — including the project's location on disk, source code snippets from error reports, the route inventory, and development logs. Only applications run with `next dev` are affected. Production deployments do not serve this endpoint.
  • >= 16.0.0, < 16.3.8
GitHub (opens in a new tab)
GHSA-3w37-wq28-93x7ModerateNext.js: Pending `use cache` fill can leak Draft Mode content into regular responses and persisted pagesPending `use cache` fills are shared across requests for the same key without distinguishing Draft Mode requests from regular requests. When two such requests overlap, the second request receives the first request's fill: - A regular request that overlaps an editor's Draft Mode request receives unpublished content, without any authentication. - A Draft Mode request that overlaps a regular request receives published content instead of the draft. If the overlapping regular request prerenders a page — for example an on-demand prerender of a route that was not prerendered at build time — the unp
  • >= 16.3.0, < 16.3.8
GitHub (opens in a new tab)
GHSA-4jqv-mc3x-m676ModerateNext.js has cache poisoning of SSG and ISR pages in self-hosted applicationsSelf-hosted Next.js applications that use the Pages Router with statically generated (SSG) or incrementally regenerated (ISR) pages can have a page's cache entry replaced with content from a different route, causing the affected page to serve wrong content to every visitor until the entry is revalidated. Applications deployed on Vercel are not affected.
  • >= 15.0.0, < 15.5.27
  • >= 16.0.0, < 16.3.8
GitHub (opens in a new tab)
GHSA-cjq9-62q9-8jv4HighNext.js has Server-Side Request Forgery in Image Optimization## Impact An attacker-controlled, allow-listed remote URL can lead to server-side request forgery (e.g. to private IPs) during Image Optimization. ## Workaround Audit allow-listed remote URLs in `images.remotePatterns` (see https://nextjs.org/docs/app/getting-started/images#remote-images) for hosts that may not be trusted with their DNS entries. If no `images.remotePatterns` are configured, your app is not affected.
  • >= 16.0.0, < 16.3.8
GitHub (opens in a new tab)
GHSA-f87g-xv8r-7p7xModerateNext.js has information disclosure in App Router metadata image routes via dynamicParams bypassIn Next.js App Router applications built with webpack, metadata image routes such as opengraph-image and twitter-image ignore the `dynamicParams` route segment option. An attacker can request metadata image URLs for dynamic segments that were deliberately excluded from `generateStaticParams()`.
  • >= 16.0.0, < 16.3.8
GitHub (opens in a new tab)
GHSA-mcj8-r9mp-w47pModerateNext.js has cache poisoning in SSG/ISR rendering that leads to cross-user content substitution and persistent denial of serviceNext.js applications that use a root-level catch-all page together with statically generated or Incremental Static Regeneration routes can have their shared response cache poisoned by a single unauthenticated crafted request.
  • >= 16.0.0, < 16.3.8
  • >= 15.0.0, < 15.5.27
GitHub (opens in a new tab)
  • GHSA-2464-fhr4-w9xwCritical
    Next.js: Unauthenticated Remote Code Execution in Image Optimization API when SVG files are used
    • >= 10.0.0, < 15.5.28
    • >= 16.0.0, < 16.4.1

    ## Impact A memory-related vulnerability has been discovered in an upstream library used for Image Optimization can lead to possible remote code execution (RCE) when Next.js runs on glibc-based Linux. ## Workaround Ensure the version of `sharp` used by Next.js is greater than or equal to `0.35.5`. Fresh installs automatically get a fixed version of `sharp`. Upgrading Next.js to the patched versions will ensure package managers automatically provide a fixed version of `sharp` to Next.js.

  • GHSA-673q-mjm6-r5xrCritical
    Next.js: Unauthenticated Remote Code Execution in `use cache` functions returning typed arrays
    • >= 16.0.0, < 16.4.1

    ## Impact A vulnerability in applications using App router with Cache Component can lead to remote code execution. The application needs to have a `use cache` function that returns multiple typed arrays. ## Workaround There is no known workaround for affected applications with such `use cache` functions. You should upgrade immediately even if your application does not have similar functions.

  • GHSA-h694-7cp9-m8p3Moderate
    next.js cache leak across root param values in nested 'use cache' functions
    • >= 16.3.0, < 16.3.8

    ### Impact With Cache Components enabled (`cacheComponents: true`), a `'use cache'` function that calls another `'use cache'` function that reads a root param can be keyed incorrectly when the inner call is served from an existing entry: the enclosing function's cache key then omits that root param. The enclosing entry is written once and reused for all root param values, so a response for one root param value can serve content produced for a different value — whether the page is prerendered at build time or at runtime, or rendered dynamically. Shared cache headers let downstream caches redis

    CVE: CVE-2026-103004

  • GHSA-p3m5-59mp-jv5rHigh
    Next.js: Denial of Service in App Router using Server Actions
    • >= 13.0.0, < 15.5.28
    • >= 16.0.0, < 16.4.1

    ## Impact Crafted requests targeting Next.js applications using App Router with at least one Server Action can lead to excessive CPU usage blocking processing of further requests in the same process. ## Workarounds No workaround exists besides upgrading. Applications using Pages Router or not using Server Actions are not vulnerable.

    CVE: CVE-2026-94482

  • GHSA-39w2-rjm5-chcvLow
    Next.js has information disclosure in development server's Model Context Protocol endpoint
    • >= 16.0.0, < 16.3.8

    The Next.js development server (`next dev`) exposes a Model Context Protocol endpoint that does not verify which website a request originates from, allowing a malicious website visited by the developer to read sensitive development data — including the project's location on disk, source code snippets from error reports, the route inventory, and development logs. Only applications run with `next dev` are affected. Production deployments do not serve this endpoint.

    CVE: CVE-2026-94486

  • GHSA-3w37-wq28-93x7Moderate
    Next.js: Pending `use cache` fill can leak Draft Mode content into regular responses and persisted pages
    • >= 16.3.0, < 16.3.8

    Pending `use cache` fills are shared across requests for the same key without distinguishing Draft Mode requests from regular requests. When two such requests overlap, the second request receives the first request's fill: - A regular request that overlaps an editor's Draft Mode request receives unpublished content, without any authentication. - A Draft Mode request that overlaps a regular request receives published content instead of the draft. If the overlapping regular request prerenders a page — for example an on-demand prerender of a route that was not prerendered at build time — the unp

    CVE: CVE-2026-94544

  • GHSA-4jqv-mc3x-m676Moderate
    Next.js has cache poisoning of SSG and ISR pages in self-hosted applications
    • >= 15.0.0, < 15.5.27
    • >= 16.0.0, < 16.3.8

    Self-hosted Next.js applications that use the Pages Router with statically generated (SSG) or incrementally regenerated (ISR) pages can have a page's cache entry replaced with content from a different route, causing the affected page to serve wrong content to every visitor until the entry is revalidated. Applications deployed on Vercel are not affected.

    CVE: CVE-2026-94543

  • GHSA-cjq9-62q9-8jv4High
    Next.js has Server-Side Request Forgery in Image Optimization
    • >= 16.0.0, < 16.3.8

    ## Impact An attacker-controlled, allow-listed remote URL can lead to server-side request forgery (e.g. to private IPs) during Image Optimization. ## Workaround Audit allow-listed remote URLs in `images.remotePatterns` (see https://nextjs.org/docs/app/getting-started/images#remote-images) for hosts that may not be trusted with their DNS entries. If no `images.remotePatterns` are configured, your app is not affected.

    CVE: CVE-2026-94483

  • GHSA-f87g-xv8r-7p7xModerate
    Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass
    • >= 16.0.0, < 16.3.8

    In Next.js App Router applications built with webpack, metadata image routes such as opengraph-image and twitter-image ignore the `dynamicParams` route segment option. An attacker can request metadata image URLs for dynamic segments that were deliberately excluded from `generateStaticParams()`.

    CVE: CVE-2026-94485

  • GHSA-mcj8-r9mp-w47pModerate
    Next.js has cache poisoning in SSG/ISR rendering that leads to cross-user content substitution and persistent denial of service
    • >= 16.0.0, < 16.3.8
    • >= 15.0.0, < 15.5.27

    Next.js applications that use a root-level catch-all page together with statically generated or Incremental Static Regeneration routes can have their shared response cache poisoned by a single unauthenticated crafted request.

    CVE: CVE-2026-94484

Showing 1-10 of 77 vulnerabilities