{"id":"GHSA-7rg2-qxmf-hhx9","revision":"7b983f32ebab4c0bb55dbda1d3a75e9e","records":[{"revision":"7b983f32ebab4c0bb55dbda1d3a75e9e","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-7rg2-qxmf-hhx9","aliases":["CVE-2021-41246"],"title":"Session fixation in express-openid-connect","description":"### Overview\n\nVersions `2.3.0` up to 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.\n\n### Am I affected?\nYou are affected by this vulnerability if you are using `express-openid-connect` version `2.3.0` up to and including `2.5.1` and use a custom session store.\n\n\n### How to fix that?\nUpgrade to version `>= 2.5.2`.\n\n### Will this update impact my users?\nThe fix provided in patch will not affect your users.","state":0,"publishedAt":"2021-12-09T19:08:58+00:00","modifiedAt":"2026-07-08T06:28:35.3779207+00:00","affected":[{"ecosystem":"npm","name":"express-openid-connect","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.3.0"},{"kind":"fixed","version":"2.5.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/auth0/express-openid-connect/security/advisories/GHSA-7rg2-qxmf-hhx9","https://nvd.nist.gov/vuln/detail/CVE-2021-41246","https://github.com/auth0/express-openid-connect/commit/5ab67ff2bd84f76674066b5e129b43ab5f2f430f","https://github.com/auth0/express-openid-connect","https://github.com/auth0/express-openid-connect/releases/tag/v2.5.2"],"sourceUrl":"https://github.com/advisories/GHSA-7rg2-qxmf-hhx9","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-7rg2-qxmf-hhx9","identifiers":["GHSA-7rg2-qxmf-hhx9","CVE-2021-41246"]},"retained":false,"historicalAffected":[]}],"coverage":[]}