{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-25896","id":"CVE-2022-25896","title":"Session Fixation","description":"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.","descriptionLong":"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","updated":"2026-10-28T02:30:42.543124235Z","reserved":"2022-02-24T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"snyk"},"metrics":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"snyk"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"snyk.io"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"GitHub"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["passport"],"affectedProducts":[{"vendor":"n/a","product":"passport","defaultStatus":null,"versions":[{"lessThan":"0.6.0","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"passport","purl":"pkg:npm/passport","ranges":["<0.6.0"],"fixed":["0.6.0"],"advisory":"GHSA-v923-w3x8-wh69"}],"cwes":["CWE-384"],"aliases":["GHSA-v923-w3x8-wh69","SNYK-JS-PASSPORT-2840631"],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-PASSPORT-2840631","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","advisory","web"]},{"url":"https://github.com/jaredhanson/passport/pull/900","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/jaredhanson/passport/commit/7e9b9cf4d7be02428e963fc729496a45baeea608","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25896.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25896","tags":["advisory"]},{"url":"https://github.com/jaredhanson/passport","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01116,"epssPercentile":0.66772,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-25896","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25896","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-25896","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-v923-w3x8-wh69","ok":true,"note":"GHSA-v923-w3x8-wh69"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-25896","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}