GHSA-pg53-56cg-4m8q · Severity: low · Ecosystem: npm — Token verification bug in next-auth
NextAuth.js (next-auth) is am open source authentication solution for Next.js applications. In next-auth before version 3.3.0 there is a token verification vulnerability. Implementations using the Prisma database adapter in conjunction with the Email provider are impacted. Implementations using the Email provider with the default database adapter are not impacted. Implementations using the Prisma database adapter but not using the Email provider are not impacted. The Prisma database adapter was checking the verification token, but was not verifying the email address associated with that token. This made it possible to use a valid token to sign in as another user when using the Prima adapter in conjunction with the Email provider. This issue is specific to the community supported Prisma adapter. This issue is fixed in version 3.3.0.
Conclusion & alert: CVE-2021-21310 is rated Exploit Available (59.8/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.37%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 0.30% | 0.37% | +0.07% |
| 2 | 2025-11-18 | 0.37% | 0.30% | -0.07% |
| 3 | 2025-07-25 | — | 0.37% | — |
Full EPSS history (14 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.1 | 3.1 | MEDIUM |
|
1.6 | 4.0 | [email protected] |
| 5.9 | 3.1 | MEDIUM |
|
2.2 | 3.6 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
GHSA-pg53-56cg-4m8q · Severity: low · Ecosystem: npm — Token verification bug in next-auth
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| nextauth.js | next-auth | < 3.3.0 | cpe:2.3:a:nextauth.js:next-auth:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/nextauthjs/next-auth/releases/tag/v3.3.0 | Third Party Advisory |
| https://github.com/nextauthjs/next-auth/security/advisories/GHSA-pg53-56cg-4m8q | Exploit Third Party Advisory |
| https://www.npmjs.com/package/next-auth | Product Third Party Advisory |