Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-32702

8.0 · HIGH
Published Jun 25, 2021 auth0 CWE-79 EPSS 1.40% (71th pctl)

Overview

CVE-2021-32702 is a high-severity vulnerability affecting auth0 nextjs-auth0. It was published on June 25, 2021 and has a CVSS 3.1 base score of 8.0 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.0, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications. Versions before and including `1.4.1` are vulnerable to reflected XSS. An attacker can execute arbitrary code by providing an XSS payload in the `error` query parameter which is then processed by the callback handler as an error message. You are affected by this vulnerability if you are using `@auth0/nextjs-auth0` version `1.4.1` or lower **unless** you are using custom error handling that does not return the error message in an HTML response. Upgrade to version `1.4.1` to resolve. The fix adds basic HTML escaping to the error message and it should not impact your users.

Remediation

Check the references section for vendor advisories and patches from auth0. Update nextjs-auth0 to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
auth0 nextjs-auth0 >= 0, < 1.4.2 Affected

Frequently Asked Questions

What is CVE-2021-32702?

CVE-2021-32702 is a high-severity vulnerability affecting auth0 nextjs-auth0. It was published on June 25, 2021 and has a CVSS 3.1 base score of 8.0 (HIGH).

How severe is CVE-2021-32702?

This vulnerability has a CVSS 3.1 base score of 8.0, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-32702?

Check the references section for vendor advisories and patches from auth0. Update nextjs-auth0 to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-32702?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-32702 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.