{"id":"GHSA-v923-w3x8-wh69","summary":"Passport vulnerable to session regeneration when a users logs in or out","details":"This affects the package passport before 0.6.0. When a user logs in or logs out, the session is regenerated instead of being closed.","aliases":["CVE-2022-25896","SNYK-JS-PASSPORT-2840631"],"modified":"2026-05-01T04:12:10.397593956Z","published":"2022-07-02T00:00:19Z","database_specific":{"cwe_ids":["CWE-384"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-07-06T21:09:15Z","nvd_published_at":"2022-07-01T20:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25896"},{"type":"WEB","url":"https://github.com/jaredhanson/passport/pull/900"},{"type":"WEB","url":"https://github.com/jaredhanson/passport/commit/7e9b9cf4d7be02428e963fc729496a45baeea608"},{"type":"PACKAGE","url":"https://github.com/jaredhanson/passport"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-PASSPORT-2840631"}],"affected":[{"package":{"name":"passport","ecosystem":"npm","purl":"pkg:npm/passport"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-v923-w3x8-wh69/GHSA-v923-w3x8-wh69.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L"}]}