{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-41246","id":"CVE-2021-41246","title":"Session fixation in express-openid-connect","description":"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.","descriptionLong":"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-09T15:55:10.000Z","updated":"2026-10-20T10:54:58.719484473Z","reserved":"2021-09-15T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":["auth0 express-openid-connect"],"affectedProducts":[{"vendor":"auth0","product":"express-openid-connect","defaultStatus":null,"versions":[{"status":"affected","version":">= 2.3.0, < 2.5.2"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"express-openid-connect","purl":"pkg:npm/express-openid-connect","ranges":[">=2.3.0 <2.5.2"],"fixed":["2.5.2"],"advisory":"GHSA-7rg2-qxmf-hhx9"}],"cwes":["CWE-384"],"aliases":["GHSA-7rg2-qxmf-hhx9"],"references":[{"url":"https://github.com/auth0/express-openid-connect/security/advisories/GHSA-7rg2-qxmf-hhx9","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/auth0/express-openid-connect/commit/5ab67ff2bd84f76674066b5e129b43ab5f2f430f","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/auth0/express-openid-connect/releases/tag/v2.5.2","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41246","tags":["advisory"]},{"url":"https://github.com/auth0/express-openid-connect","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00924,"epssPercentile":0.6115,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-41246","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41246","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-41246","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7rg2-qxmf-hhx9","ok":true,"note":"GHSA-7rg2-qxmf-hhx9"},{"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-2021-41246","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}