Live threats

All CVEs / Vercel

CVE-2024-34351Vercel Next.js

High 7.5 No auth needed

Priority
61
CVSS 3.1
7.5
EPSS
5.9%
probability of exploitation in 30 days · percentile 94
Auth required
No
Published
May 14, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-918
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

Next.js is a React framework that can provide building blocks to create web applications. A Server-Side Request Forgery (SSRF) vulnerability was identified in Next.js Server Actions. If the `Host` header is modified, and the below conditions are also met, an attacker may be able to make requests that appear to be originating from the Next.js application server itself. The required conditions are 1) Next.js is running in a self-hosted manner; 2) the Next.js application makes use of Server Actions; and 3) the Server Action performs a redirect to a relative path which starts with a `/`. This vulnerability was fixed in Next.js `14.1.1`.

Original NVD text.

What to do

  1. Apply the vendor's security update for Next.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm next ≥ 13.4.0 < 14.1.1 14.1.1 npm install next@14.1.1

Per OSV / GitHub Advisories (GHSA-fr5h-rqp8-mj6g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vercelnext.js≥ 13.4.0 < 14.1.1

Official sources

References

Links published by the sources. Open them with care.