CVE-2021-37699

Medium

Description

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.

SeverityMedium
CVSS6.9
Exploit probability—
ProductVercel Next.js
PublishedAug 12, 2021
First seenAug 12, 2021

How to fix

Update
  • next11.1.0 or later

Affected products

ProductAffected versionsFixed in
vercel next.js10.0.5 ≤ v ≤ 10.2.0, 11.0.0 ≤ v ≤ 11.0.1—
nextnpm0.9.9 ≤ v < 11.1.011.1.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.