next (npm)

Known vulnerabilities and malicious package reports for next on npm, live from OSV, with CISA KEV exploitation status and EPSS scores.

Known package reports

0 malicious package reports and 79 vulnerabilities returned by OSV. Check a specific version to see which reports apply.

GHSA-f82v-jwr5-mffw: Vulnerability

Authorization Bypass in Next.js Middleware

Published .

Updated .

Affected ranges: introduced 13.0.0, fixed 13.5.9; introduced 14.0.0, fixed 14.2.25; introduced 15.0.0, fixed 15.2.3; introduced 12.0.0, fixed 12.3.5.

Fix versions reported by the advisory: 13.5.9, 14.2.25, 15.2.3, 12.3.5.

Severity: CRITICAL.

CVE-2025-29927

GHSA-gp8f-8m3g-qvj9: Vulnerability

Next.js Cache Poisoning

Published .

Updated .

Affected ranges: introduced 13.5.1, fixed 13.5.7; introduced 14.0.0, fixed 14.2.10.

Fix versions reported by the advisory: 13.5.7, 14.2.10.

Severity: HIGH.

CVE-2024-46982

GHSA-25mp-g6fv-mqxx: Vulnerability

Unexpected server crash in Next.js.

Published .

Updated .

Affected ranges: introduced 12.0.0, fixed 12.0.5; introduced 0.9.9, fixed 11.1.3.

Fix versions reported by the advisory: 12.0.5, 11.1.3.

Severity: HIGH.

CVE-2021-43803

GHSA-fq77-7p7r-83rj: Vulnerability

Directory Traversal in Next.js

Published .

Updated .

Affected ranges: introduced 0.9.9, fixed 9.3.2.

Fix versions reported by the advisory: 9.3.2.

Severity: MEDIUM.

CVE-2020-5284

GHSA-c4j6-fc7j-m34r: Vulnerability

Next.js vulnerable to server-side request forgery in applications using WebSocket upgrades

Published .

Updated .

Affected ranges: introduced 13.4.13, fixed 15.5.16; introduced 16.0.0, fixed 16.2.5.

Fix versions reported by the advisory: 15.5.16, 16.2.5.

Severity: HIGH.

CVE-2026-44578

GHSA-3f5c-4qxj-vmpf: Vulnerability

Next.js Directory Traversal Vulnerability

Published .

Updated .

Affected ranges: introduced 1.0.0, fixed 2.4.1.

Fix versions reported by the advisory: 2.4.1.

Severity: HIGH.

CVE-2017-16877

GHSA-m34x-wgrh-g897: Vulnerability

Directory traversal vulnerability in Next.js

Published .

Updated .

Affected ranges: introduced 1.0.0, fixed 4.2.3.

Fix versions reported by the advisory: 4.2.3.

Severity: HIGH.

CVE-2018-6184

GHSA-fr5h-rqp8-mj6g: Vulnerability

Next.js Server-Side Request Forgery in Server Actions

Published .

Updated .

Affected ranges: introduced 13.4.0, fixed 14.1.1.

Fix versions reported by the advisory: 14.1.1.

Severity: HIGH.

CVE-2024-34351

GHSA-7gfc-8cq8-jh5f: Vulnerability

Next.js authorization bypass vulnerability

Published .

Updated .

Affected ranges: introduced 9.5.5, fixed 14.2.15.

Fix versions reported by the advisory: 14.2.15.

Severity: HIGH.

CVE-2024-51479

GHSA-4342-x723-ch2f: Vulnerability

Next.js Improper Middleware Redirect Handling Leads to SSRF

Published .

Updated .

Affected ranges: introduced 0.9.9, fixed 14.2.32; introduced 15.0.0-canary.0, fixed 15.4.7.

Fix versions reported by the advisory: 14.2.32, 15.4.7.

Severity: HIGH.

CVE-2025-57822

GHSA-wr66-vrwm-5g5x: Vulnerability

Denial of Service Vulnerability in next.js

Published .

Updated .

Affected ranges: introduced 12.0.0, fixed 12.0.9.

Fix versions reported by the advisory: 12.0.9.

Severity: HIGH.

CVE-2022-21721

GHSA-p293-qw3h-jr36: Vulnerability

Next.js: Unauthenticated Remote Code Execution on windows-hosted servers

Published .

Updated .

Affected ranges: introduced 13.4.0, fixed 15.5.24; introduced 16.0.0, fixed 16.3.3.

Fix versions reported by the advisory: 15.5.24, 16.3.3.

Severity: CRITICAL.

CVE-2026-75604

GHSA-fmvm-x8mv-47mj: Vulnerability

Improper CSP in Image Optimization API for Next.js versions between 10.0.0 and 12.1.0

Published .

Updated .

Affected ranges: introduced 10.0.0, fixed 12.1.0.

Fix versions reported by the advisory: 12.1.0.

Severity: HIGH.

CVE-2022-23646

GHSA-c59h-r6p8-q9wc: Vulnerability

Next.js missing cache-control header may lead to CDN caching empty reply

Published .

Updated .

Affected ranges: introduced 0.9.9, fixed 13.4.20-canary.13.

Fix versions reported by the advisory: 13.4.20-canary.13.

Severity: HIGH.

CVE-2023-46298

GHSA-267c-6grr-h53f: Vulnerability

Next.js has a Middleware / Proxy bypass in App Router applications via segment-prefetch routes

Published .

Updated .

Affected ranges: introduced 15.2.0, fixed 15.5.16; introduced 16.0.0, fixed 16.2.5.

Fix versions reported by the advisory: 15.5.16, 16.2.5.

Severity: HIGH.

CVE-2026-44575

GHSA-wff4-fpwg-qqv3: Vulnerability

Unexpected server crash in Next.js

Published .

Updated .

Reported affected releases: 12.2.3.

Affected ranges: introduced 12.2.3, fixed 12.2.4.

Fix versions reported by the advisory: 12.2.4.

Severity: MEDIUM.

CVE-2022-36046

GHSA-77r5-gw3j-2mpf: Vulnerability

Next.js Vulnerable to HTTP Request Smuggling

Published .

Updated .

Affected ranges: introduced 13.4.0, fixed 13.5.1.

Fix versions reported by the advisory: 13.5.1.

Severity: HIGH.

CVE-2024-34350

GHSA-9gr3-7897-pp7m: Vulnerability

XSS in Image Optimization API for Next.js

Published .

Updated .

Affected ranges: introduced 10.0.0, fixed 11.1.1.

Fix versions reported by the advisory: 11.1.1.

Severity: MEDIUM.

CVE-2021-39178

GHSA-67rr-84xm-4c7r: Vulnerability

Next.JS vulnerability can lead to DoS via cache poisoning

Published .

Updated .

Affected ranges: introduced 15.0.4-canary.51, fixed 15.1.8.

Fix versions reported by the advisory: 15.1.8.

Severity: HIGH.

CVE-2025-49826

GHSA-vxf5-wxwp-m7g9: Vulnerability

Open Redirect in Next.js

Published .

Updated .

Affected ranges: introduced 0.9.9, fixed 11.1.0.

Fix versions reported by the advisory: 11.1.0.

Severity: MEDIUM.

CVE-2021-37699

GHSA-qw96-mm2g-c8m7: Vulnerability

Next.js has cross site scripting (XSS) vulnerability via the 404 or 500 /_error page

Published .

Updated .

Affected ranges: introduced 7.0.0, fixed 7.0.2.

Fix versions reported by the advisory: 7.0.2.

Severity: MEDIUM.

CVE-2018-18282

GHSA-m99w-x7hq-7vfj: Vulnerability

Next.js: Denial of Service in App Router using Server Actions

Published .

Updated .

Affected ranges: introduced 13.0.0, fixed 15.5.21; introduced 16.0.0, fixed 16.2.11.

Fix versions reported by the advisory: 15.5.21, 16.2.11.

Severity: HIGH.

CVE-2026-64641

GHSA-26hh-7cqf-hhc6: Vulnerability

Next.js has a Middleware / Proxy bypass in App Router applications via segment-prefetch routes - Incomplete Fix Follow-Up

Published .

Updated .

Affected ranges: introduced 15.2.0, fixed 15.5.18; introduced 16.0.0, fixed 16.2.6.

Fix versions reported by the advisory: 15.5.18, 16.2.6.

Severity: HIGH.

CVE-2026-45109

GHSA-qpjv-v59x-3qc4: Vulnerability

Next.js Race Condition to Cache Poisoning

Published .

Updated .

Affected ranges: introduced 0.9.9, fixed 14.2.24; introduced 15.0.0, fixed 15.1.6.

Fix versions reported by the advisory: 14.2.24, 15.1.6.

Severity: LOW.

CVE-2025-32421

GHSA-7m27-7ghc-44w9: Vulnerability

Next.js Allows a Denial of Service (DoS) with Server Actions

Published .

Updated .

Affected ranges: introduced 13.0.0, fixed 13.5.8; introduced 14.0.0, fixed 14.2.21; introduced 15.0.0, fixed 15.1.2.

Fix versions reported by the advisory: 13.5.8, 14.2.21, 15.1.2.

Severity: MEDIUM.

CVE-2024-56332

More reports are available in the interactive package view.

Source: OSV, including OpenSSF malicious-package reports and GitHub advisories. No known report is not proof a package is safe.