The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications. Versions…
Historical advisory recorded 24 Oct 2026 18:17:28 UTC. Read the latest advisory.
nvd · CVE-2021-32702
PublishedThe 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2021-32702
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-79
Original publisher date fields
published: 2021-06-25T17:15:08.383
lastModified: 2026-06-17T03:53:27.480
1 source CPE criteria · context only
- cpe:2.3:a:auth0:nextjs-auth0:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON