cve.bz

CVE-2022-24858

6.1 mediumEPSS 0.8%

Medium (6.1) in nextauth.js next-auth. EPSS 0.8% chance of exploitation in the next 30 days. Fixed in next-auth 3.29.2, 4.3.2.

next-auth v3 users before version 3.29.2 are impacted. next-auth version 4 users before version 4.3.2 are also impacted. Upgrading to 3.29.2 or 4.3.2 will patch this vulnerability. If you are not able to upgrade for any reason, you can add a configuration to your callbacks option. If you already have a `redirect` callback, make sure that you match the incoming `url` origin against the `baseUrl`.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.8% chance of exploitation in the next 30 days; higher than 56% of CVEs (scores of 2026-10-31)
CWEs
CWE-601, CWE-290
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f9wg-5f46-cjmwnpmnext-auth<3.29.23.29.2
GHSA-f9wg-5f46-cjmwnpmnext-auth>=4.0.0 <4.3.24.3.2

References

Check your stackJSON