Next.js version check

Runs in: Site Exposure Scanner

Judges the Next.js version that your site discloses in its own client runtime against every published Next.js advisory: the GitHub Advisory Database (package npm next) and the Next.js repository's advisories (vercel/next.js), refreshed daily. Part of the Site Exposure Scanner; runs in on-demand scans and in scheduled reports.

How it detects

  • One GET of your site's homepage, which the scanner already makes for its other fingerprints, then up to 8 of the page's own /_next/static/…js scripts (the first 512 KB of each), in page order. No request touches a vulnerable endpoint.
  • Recognising Next.js, any one of: the X-Powered-By: Next.js header (switched off by poweredByHeader: false, and dropped by Vercel), the App Router's Vary: rsc, next-router-state-tree, … header, the App Router's inline self.__next_f scripts, or the Pages Router's <script id="__NEXT_DATA__">.
  • Reading the version: Next.js writes it only into its client runtime, as window.next={version:"16.5.0-canary.42",appDir:!0}. React's own version:"19.x" sits in the same file, so the check looks only for the version next to window.next.
  • Only scripts your site itself serves are read, before and after redirects; a script on another registrable domain, or one answering with an error, is skipped. Script URLs may carry a query string (?dpl=…, Vercel's deployment id) or single quotes.
  • Version order: a canary precedes its release (16.4.0-canary.3 < 16.4.0), as in npm.
  • The advisory data is refreshed daily. Advisories from the global database and the repository are merged by GHSA id, and the global entry wins, since the repository copy often omits the CVE id.

What you see

Situation Result
Version in the range of one or more advisories Error: the advisories by severity, every critical and high one named, and the release that fixes them all
Version in no advisory's range Passed: not affected by any of the published advisories
No advisory data loaded Warning: whether this version is affected cannot be judged
Next.js without a readable version Passed, informational: a framework, version not disclosed
An advisory with a range that cannot be read, in full or in part (repository free text, an NVD bound that is not a version) Its readable ranges are judged; the verdict names it, and "not affected" becomes a Warning

Limits

  • A site that bundles the runtime into a script past the 8th, or beyond its first 512 KB, shows no version; it is then reported as present only.
  • A static export served from a CDN may carry none of the markers.
  • A version number cannot show a fix applied without a new release.

Vulnerabilities this check covers 84

AdvisoryWhat it isSeverityRecords
CVE-2025-55173 Next.js Content Injection Vulnerability for Image Optimizationfixed in 14.2.31, 15.4.5 medium
CVE-2020-15242 Open Redirect in Next.js versionsfixed in 9.5.4 medium
CVE-2022-21721 Denial of Service Vulnerability in next.jsfixed in 12.0.9 medium
CVE-2022-36046 Unexpected server crash in Next.jsfixed in 12.2.4 medium
CVE-2026-44576 Next.js vulnerable to cache poisoning in React Server Component responsesfixed in 15.5.16, 16.2.5 medium
CVE-2025-55183 Next Server Actions Source Code Exposurefixed in 15.0.6, 15.1.10, 15.2.7, 15.3.7, 15.4.9, 15.5.8, 15.6.0-canary.59, 16.0.9, 16.1.0-canary.17 medium
CVE-2021-37699 Open Redirect in Next.jsfixed in 11.1.0 medium
CVE-2026-119350 Next.js: Cache poisoning of shared fallback shells in Cache Components via request-supplied placeholder route paramsfixed in 16.4.5 medium
CVE-2026-44582 Next.js vulnerable to cache poisoning via collisions in React Server Component cache-bustingfixed in 15.5.16, 16.2.5 low
CVE-2026-94545 Next.js: Remote Code Execution in next/og ImageResponsefixed in 16.3.6 critical
CVE-2026-119351 Next.js: Cache leak across root param values in nested 'use cache' functions via delayed inner stream metadatafixed in 16.4.5 medium
CVE-2026-119349 Next.js: Cross-user cache disclosure and poisoning in Next.js use cache with binary argumentsfixed in 16.4.5 medium
CVE-2025-49005 Next.js has a Cache poisoning vulnerability due to omission of the Vary headerfixed in 15.3.3 low
CVE-2018-18282 Next.js has cross site scripting (XSS) vulnerability via the 404 or 500 /_error pagefixed in 7.0.2 medium
CVE-2025-32421 Next.js Race Condition to Cache Poisoningfixed in 14.2.24, 15.1.6 low
CVE-2026-64644 Next.js: Denial of Service in the Image Optimization API using SVGsfixed in 15.5.21, 16.2.11 medium
CVE-2026-23869 Next.js has a Denial of Service with Server Componentsfixed in 15.5.15, 16.2.3 high
CVE-2026-119348 Next.js: Cross-client response injection and disclosure in self-hosted Next.js applications forwarding fetched responsesfixed in 15.5.29, 16.4.5 medium
CVE-2026-64645 Next.js: Server-Side Request Forgery in rewrites via attacker-controlled destination hostnamefixed in 15.5.21, 16.2.11 high
CVE-2026-94482 Next.js: Denial of Service in App Router using Server Actionsfixed in 15.5.28, 16.4.1 high
CVE-2026-75604 Next.js: Unauthenticated Remote Code Execution on windows-hosted serversfixed in 15.5.24, 16.3.3 critical
CVE-2025-55184 Next Vulnerable to Denial of Service with Server Componentsfixed in 14.2.34, 15.0.6, 15.1.10, 15.2.7, 15.3.7, 15.4.9, 15.5.8, 15.6.0-canary.59, 16.0.9, 16.1.0-canary.17 high
CVE-2026-27978 Next.js: null origin can bypass Server Actions CSRF checksfixed in 16.1.7 medium
CVE-2026-44579 Next.js vulnerable to Denial of Service via connection exhaustion in applications using Cache Componentsfixed in 15.5.16, 16.2.5 high
CVE-2026-119790 Next.js: Information disclosure across root params when a 'use cache' function is called through unstable_cache()fixed in 16.4.5 medium
CVE-2026-94484 Next.js has cache poisoning in SSG/ISR rendering that leads to cross-user content substitution and persistent denial of servicefixed in 15.5.27, 16.3.8 medium
CVE-2026-64641 Next.js: Denial of Service in App Router using Server Actionsfixed in 15.5.21, 16.2.11 high
CVE-2018-6184 Directory traversal vulnerability in Next.jsfixed in 4.2.3 high
CVE-2026-27977 Next.js: null origin can bypass dev HMR websocket CSRF checksfixed in 16.1.7 low
CVE-2026-103004 next.js cache leak across root param values in nested 'use cache' functionsfixed in 16.3.8 medium
CVE-2026-44577 Next.js has a Denial of Service in the Image Optimization APIfixed in 15.5.16, 16.2.5 medium
CVE-2026-27979 Next.js: Unbounded postponed resume buffering can lead to DoSfixed in 16.1.7 medium
CVE-2026-23864 Next.js HTTP request deserialization can lead to DoS when using insecure React Server Componentsfixed in 15.0.8, 15.1.12, 15.2.9, 15.3.9, 15.4.11, 15.5.10, 15.6.0-canary.61, 16.0.11, 16.1.5 high
CVE-2026-44580 Next.js has cross-site scripting in beforeInteractive scripts with untrusted inputfixed in 15.5.16, 16.2.5 medium
CVE-2024-46982 Next.js Cache Poisoningfixed in 13.5.7, 14.2.10 high
CVE-2026-29057 Next.js: HTTP request smuggling in rewritesfixed in 15.5.13, 16.1.7 medium
CVE-2024-47831 Denial of Service condition in Next.js image optimizationfixed in 14.2.7 medium
CVE-2025-57752 Next.js Affected by Cache Key Confusion for Image Optimization API Routesfixed in 14.2.31, 15.4.5 medium
CVE-2024-34351 Next.js Server-Side Request Forgery in Server Actionsfixed in 14.1.1 high
CVE-2020-5284 Directory Traversal in Next.jsfixed in 9.3.2 medium
CVE-2024-39693 Next.js Denial of Service (DoS) conditionfixed in 13.5.0 high
CVE-2022-23646 Improper CSP in Image Optimization API for Next.js versions between 10.0.0 and 12.1.0fixed in 12.1.0 medium
CVE-2026-44581 Next.js vulnerable to cross-site scripting in App Router applications using CSP noncesfixed in 15.5.16, 16.2.5 medium
CVE-2026-94485 Next.js has information disclosure in App Router metadata image routes via dynamicParams bypassfixed in 16.3.8 medium
CVE-2025-29927 Authorization Bypass in Next.js Middlewarefixed in 12.3.5, 13.5.9, 14.2.25, 15.2.3 critical
CVE-2026-119346 Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routesfixed in 15.5.29, 16.4.5 medium
CVE-2026-94483 Next.js has Server-Side Request Forgery in Image Optimizationfixed in 16.3.8 high
CVE-2023-46298 Next.js missing cache-control header may lead to CDN caching empty replyfixed in 13.4.20-canary.13 low
CVE-2026-44578 Next.js vulnerable to server-side request forgery in applications using WebSocket upgradesfixed in 15.5.16, 16.2.5 high
CVE-2025-55182 CISA KEV Next.js is vulnerable to RCE in React flight protocolfixed in 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, 16.0.7 critical exploited
CVE-2021-39178 XSS in Image Optimization API for Next.jsfixed in 11.1.1 high
CVE-2025-59471 Next.js self-hosted applications vulnerable to DoS via Image Optimizer remotePatterns configurationfixed in 15.5.10, 16.1.5 medium
CVE-2026-64643 Next.js: Unauthenticated disclosure of internal Server Function endpointsfixed in 15.5.21, 16.2.11 medium
CVE-2026-23870 Next.js Vulnerable to Denial of Service with Server Componentsfixed in 15.5.16, 16.2.5 high
CVE-2026-64649 Next.js: Server-Side Request Forgery in Server Actions on custom serversfixed in 15.5.21, 16.2.11 high
CVE-2026-119347 Next.js: SVG rejection bypass in the image optimizationfixed in 15.5.29, 16.4.5 medium
CVE-2024-56332 Next.js Allows a Denial of Service (DoS) with Server Actionsfixed in 13.5.8, 14.2.21, 15.1.2 medium
CVE-2024-51479 Next.js authorization bypass vulnerabilityfixed in 14.2.15 high
CVE-2024-34350 Next.js Vulnerable to HTTP Request Smugglingfixed in 13.5.1 high
CVE-2026-64642 Next.js: Middleware / Proxy bypass in App Router applications using Turbopack and single localefixed in 16.2.11 high
CVE-2026-64648 Next.js: Cache confusion of response bodies for requests with bodiesfixed in 15.5.21, 16.2.11 medium
CVE-2025-49826 Next.JS vulnerability can lead to DoS via cache poisoningfixed in 15.1.8 high
GHSA-673q-mjm6-r5xr Next.js: Unauthenticated Remote Code Execution in `use cache` functions returning typed arraysfixed in 16.4.1 critical
GHSA-5vj8-3v2h-h38v Remote Code Execution in nextfixed in 5.1.0 high
CVE-2025-67779 Next has a Denial of Service with Server Components - Incomplete Fix Follow-Upfixed in 14.2.35, 15.0.7, 15.1.11, 15.2.8, 15.3.8, 15.4.10, 15.5.9, 15.6.0-canary.60, 16.0.10, 16.1.0-canary.19 high
CVE-2025-59472 Next.js has Unbounded Memory Consumption via PPR Resume Endpointfixed in 15.6.0-canary.61, 16.1.5 medium
CVE-2026-94543 Next.js has cache poisoning of SSG and ISR pages in self-hosted applicationsfixed in 15.5.27, 16.3.8 medium
CVE-2026-64646 Next.js: Unbounded Server Action payload in Edge runtimefixed in 15.5.21, 16.2.11 medium
CVE-2026-44574 Next.js has a Middleware / Proxy bypass through dynamic route parameter injectionfixed in 15.5.16, 16.2.5 high
CVE-2026-64647 Next.js: Cache confusion of response bodies for requests with bodies containing invalid UTF-8 byte sequencesfixed in 15.5.21, 16.2.11 medium
CVE-2025-57822 Next.js Improper Middleware Redirect Handling Leads to SSRFfixed in 14.2.32, 15.4.7 medium
CVE-2026-27980 Next.js: Unbounded next/image disk cache growth can exhaust storagefixed in 15.5.14, 16.1.7 medium
CVE-2026-94544 Next.js: Pending `use cache` fill can leak Draft Mode content into regular responses and persisted pagesfixed in 16.3.8 medium
CVE-2025-48068 Information exposure in Next.js dev server due to lack of origin verificationfixed in 14.2.30, 15.2.2 low
CVE-2026-44572 Next.js's Middleware / Proxy redirects can be cache-poisonedfixed in 15.5.16, 16.2.5 low
CVE-2017-16877 Next.js Directory Traversal Vulnerabilityfixed in 2.4.1 high
CVE-2026-94486 Next.js has information disclosure in development server's Model Context Protocol endpointfixed in 16.3.8 low
CVE-2026-44573 Next.js has a Middleware / Proxy bypass in Pages Router applications using i18nfixed in 15.5.16, 16.2.5 high
GHSA-2xp9-vwfh-vxw4 Next.js: Unauthenticated Remote Code Execution in Image Optimization API when AVIF files are usedfixed in 15.5.24, 16.3.3 critical
CVE-2026-45109 Next.js has a Middleware / Proxy bypass in App Router applications via segment-prefetch routes - Incomplete Fix Follow-Upfixed in 15.5.18, 16.2.6 high
CVE-2026-44575 Next.js has a Middleware / Proxy bypass in App Router applications via segment-prefetch routesfixed in 15.5.16, 16.2.5 high
CVE-2021-43803 Unexpected server crash in Next.js.fixed in 11.1.3, 12.0.5 high
CVE-2026-96889 Next.js: Unauthenticated Remote Code Execution in Image Optimization API when SVG files are usedfixed in 15.5.28, 16.4.1 critical
CVE-2025-30218 Next.js may leak x-middleware-subrequest-id to external hostsfixed in 12.3.6, 13.5.10, 14.2.26, 15.2.4 low

Each advisory id links to its public record where one exists. This product uses data from the NVD API but is not endorsed or certified by the NVD. Advisory text from the GitHub Advisory Database, licensed under CC BY 4.0.