CVE-2021-37699

Open Redirect in Next.js versions below 11.1.0

Published Aug 11, 2021 CVSS 3.1 · 6.9 Medium EPSS 1.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-1904 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.
Github GHSA Github GHSA GHSA-vxf5-wxwp-m7g9 Open Redirect in Next.js
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 4, 2024, 1:23 AM
Reserved
Jul 29, 2021, 12:00 AM
Status
Modified
Published
Aug 12, 2021, 12:15 AM
Modified
Jun 17, 2026, 4:01 AM