Live threats

All CVEs / Vercel

CVE-2021-37699Vercel Next.js

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.0%
probability of exploitation in 30 days · percentile 63
Auth required
No
Published
Aug 12, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-601
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

Next.js is an open source website development framework to be used with the React library. In affected versions specially encoded paths could be used when pages/_error.js was statically generated allowing an open redirect to occur to an external site. In general, this redirect does not directly harm users although can allow for phishing attacks by redirecting to an attacker's domain from a trusted domain. We recommend everyone to upgrade regardless of whether you can reproduce the issue or not. The issue has been patched in release 11.1.0.

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 ≥ 0.9.9 < 11.1.0 11.1.0 npm install next@11.1.0

Per OSV / GitHub Advisories (GHSA-vxf5-wxwp-m7g9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vercelnext.js≥ 10.0.5 ≤ 10.2.0
vercelnext.js≥ 11.0.0 ≤ 11.0.1

Official sources

References

Links published by the sources. Open them with care.