Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2022-31093 Details

Description

NextAuth.js is a complete open source authentication solution for Next.js applications. In affected versions an attacker can send a request to an app using NextAuth.js with an invalid `callbackUrl` query parameter, which internally is converted to a `URL` object. The URL instantiation would fail due to a malformed URL being passed into the constructor, causing it to throw an unhandled error which led to the **API route handler timing out and logging in to fail**. This has been remedied in versions 3.29.5 and 4.5.0. If for some reason you cannot upgrade, the workaround requires you to rely on Advanced Initialization. Please see the documentation for more.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-754Improper Check for Unusual or Exceptional Conditions[email protected]

Affected Products

ProductVersions
nextauth.js next-auth
>= 3.0.0, < 3.29.5
>= 4.0.0, < 4.5.0

CPE

  • cpe:2.3:a:nextauth.js:next-auth:*:*:*:*:*:node.js:*:*

Remediation

  • No remediation found in references.

Change History

5 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2022-31093
NVD Published Date:
Jun 27, 2022
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2022-31093 Details - Not Deferred