{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-24858","published":"2022-04-19T23:15:13.317000Z","last_modified":"2026-06-17T04:32:40.473000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-290","CWE-601"],"cpes":[{"criteria":"cpe:2.3:a:nextauth.js:next-auth:*:*:*:*:*:node.js:*:*","part":"a","vendor":"nextauth.js","product":"next-auth","version_start_including":"3.0.0","version_end_excluding":"3.29.2"},{"criteria":"cpe:2.3:a:nextauth.js:next-auth:*:*:*:*:*:node.js:*:*","part":"a","vendor":"nextauth.js","product":"next-auth","version_start_including":"4.0.0","version_end_excluding":"4.3.2"}],"cpes_truncated":false,"vendors":["nextauth.js"],"products":["nextauth.js/next-auth"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00808,"percentile":0.53814,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-f9wg-5f46-cjmw","ecosystem":"npm","name":"next-auth","purl":"pkg:npm/next-auth","ranges":[{"introduced":"0","fixed":"3.29.2"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-f9wg-5f46-cjmw","ecosystem":"npm","name":"next-auth","purl":"pkg:npm/next-auth","ranges":[{"introduced":"4.0.0","fixed":"4.3.2"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2022-24858/","html_en":"/en/cve/CVE-2022-24858/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-24858","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-24858"},"untrusted":{"vendor_name":"Nextauth.js","product_name":"Next-auth","desc_en":"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`.","affected":[{"untrusted_vendor":"nextauthjs","untrusted_product":"next-auth","versions":[]}],"references":[{"url":"https://github.com/nextauthjs/next-auth/security/advisories/GHSA-f9wg-5f46-cjmw","tags":["Mitigation","Third Party Advisory"]},{"url":"https://next-auth.js.org/configuration/callbacks#redirect-callback","tags":["Vendor Advisory"]},{"url":"https://next-auth.js.org/getting-started/upgrade-v4","tags":["Vendor Advisory"]}]}}