{"id":"CVE-2022-25896","aliases":["GHSA-v923-w3x8-wh69","SNYK-JS-PASSPORT-2840631"],"url":"https://o3.security/vulnerability/CVE-2022-25896","summary":"Session Fixation","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.","published":"2022-07-01T20:06:04.981Z","modified":"2026-08-12T03:51:29.775448494Z","cvss":{"score":4.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"passport","fixedVersion":"0.6.0"}],"fix":{"url":"https://github.com/jaredhanson/passport/commit/7e9b9cf4d7be02428e963fc729496a45baeea608","label":"jaredhanson/passport@7e9b9cf"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25896.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25896"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JS-PASSPORT-2840631"},{"type":"FIX","url":"https://github.com/jaredhanson/passport/commit/7e9b9cf4d7be02428e963fc729496a45baeea608"},{"type":"FIX","url":"https://github.com/jaredhanson/passport/pull/900"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:29.775448494Z"}}