CWE
601
Advisory Published
Updated

CVE-2021-37699: Open Redirect in Next.js versions below 11.1.0

First published: Wed Aug 11 2021(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Vercel Next.js>=10.0.5<=10.2.0
Vercel Next.js>=11.0.0<=11.0.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is Next.js?

    Next.js is an open source website development framework to be used with the React library.

  • What is the vulnerability ID for Next.js?

    The vulnerability ID for Next.js is CVE-2021-37699.

  • What is the severity of CVE-2021-37699?

    The severity of CVE-2021-37699 is medium with a CVSS score of 6.1.

  • How does CVE-2021-37699 affect Next.js?

    In affected versions of Next.js, specially encoded paths could be used to cause an open redirect to an external site when pages/_error.js was statically generated.

  • How can I fix CVE-2021-37699 in Next.js?

    To fix CVE-2021-37699 in Next.js, update to version 11.1.0 or newer. Refer to the Next.js security advisory for more details.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203