{"id":"EUVD-2021-0562","revision":"b298d2d2e68e4130ab15d5bacdc10c8d","records":[{"revision":"b298d2d2e68e4130ab15d5bacdc10c8d","observedAt":"2026-11-24T03:30:45.542+00:00","statement":{"source":"euvd","id":"EUVD-2021-0562","aliases":["CVE-2021-21310","GHSA-pg53-56cg-4m8q"],"title":"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…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","score":6.1,"severity":null}],"references":["https://github.com/nextauthjs/next-auth/security/advisories/GHSA-pg53-56cg-4m8q","https://www.npmjs.com/package/next-auth","https://github.com/nextauthjs/next-auth/releases/tag/v3.3.0"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-0562","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Feb 11, 2021, 9:40:16 PM","dateUpdated":"Aug 3, 2024, 6:09:15 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2021-0562","identifiers":["EUVD-2021-0562","CVE-2021-21310","GHSA-pg53-56cg-4m8q"]},"retained":false,"historicalAffected":[]}],"coverage":[]}