What’s Vulnerable › Vulnerabilities
CVE-2022-25896: Session Fixation
- Severity: medium (CVSS 4.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-07-01 · updated 2026-06-17
- Weakness: CWE-384
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.
Affected products
- passport: before 0.6.0 — fixed in 0.6.0
How to fix
Upgrade to a fixed version: passport 0.6.0. Check the vendor advisory for mitigations.
References
- https://github.com/jaredhanson/passport/commit/7e9b9cf4d7be02428e963fc729496a45baeea608
- https://github.com/jaredhanson/passport/pull/900
- https://snyk.io/vuln/SNYK-JS-PASSPORT-2840631
- https://github.com/jaredhanson/passport/commit/7e9b9cf4d7be02428e963fc729496a45baeea608
- https://github.com/jaredhanson/passport/pull/900
- https://snyk.io/vuln/SNYK-JS-PASSPORT-2840631
Get alerted when CVE-2022-25896 or the next vulnerability affects your stack