Improper Neutralization Affecting next-auth package, versions <4.24.12>=5.0.0-beta.0 <5.0.0-beta.30


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-NEXTAUTH-13744118
  • published29 Oct 2025
  • disclosed29 Oct 2025
  • creditJeya Seelan

Introduced: 29 Oct 2025

New CVE NOT AVAILABLE CWE-149  (opens in a new tab)

How to fix?

Upgrade next-auth to version 4.24.12, 5.0.0-beta.30 or higher.

Overview

next-auth is an Authentication for Next.js

Affected versions of this package are vulnerable to Improper Neutralization in the email validation component. An attacker can intercept sensitive authentication emails by submitting a specially crafted email address that manipulates the parsing logic, causing messages to be sent to an unintended mailbox.

CVSS Base Scores

version 4.0
version 3.1