{"id":"CVE-2021-41246","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.","aliases":["GHSA-7rg2-qxmf-hhx9"],"modified":"2026-07-09T14:06:16.973511Z","published":"2021-12-09T16:15:08.383Z","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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/auth0/express-openid-connect","events":[{"introduced":"5566d1a941fc2a1487c242204c07e5805c4913f7"},{"fixed":"c2557569e62b6136b249aa6b6fce41252af7dc5c"},{"fixed":"5ab67ff2bd84f76674066b5e129b43ab5f2f430f"}],"database_specific":{"cpe":"cpe:2.3:a:auth0:express_openid_connect:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"2.3.0"},{"fixed":"2.5.2"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v2.5.1","v2.5.0","v2.4.0","v2.3.1","v2.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41246.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}