{"id":"CVE-2021-41246","aliases":["GHSA-7rg2-qxmf-hhx9"],"url":"https://o3.security/vulnerability/CVE-2021-41246","summary":"Session fixation in express-openid-connect","details":"Express OpenID Connect is express JS middleware implementing sign on for Express web apps using OpenID Connect. Versions before and including `2.5.1` do not regenerate the session id and session cookie when user logs in. This behavior opens up the application to various session fixation vulnerabilities. Versions `2.5.2` contains a patch for this issue.","published":"2021-12-09T16:15:08.383Z","modified":"2026-07-09T14:06:16.973511Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"express-openid-connect","fixedVersion":"2.5.2"}],"fix":{"url":"https://github.com/auth0/express-openid-connect/commit/5ab67ff2bd84f76674066b5e129b43ab5f2f430f","label":"auth0/express-openid-connect@5ab67ff"},"references":[{"type":"ADVISORY","url":"https://github.com/auth0/express-openid-connect/releases/tag/v2.5.2"},{"type":"ADVISORY","url":"https://github.com/auth0/express-openid-connect/security/advisories/GHSA-7rg2-qxmf-hhx9"},{"type":"FIX","url":"https://github.com/auth0/express-openid-connect/commit/5ab67ff2bd84f76674066b5e129b43ab5f2f430f"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T14:06:16.973511Z"}}