CVE-2022-24794: auth0 express_openid_connect Open Redirect
Vulnerability summary
CVE-2022-24794 is a high (CVSS 7.5) Open Redirect vulnerability in auth0 express_openid_connect. EPSS estimates a 0.74% chance of exploitation in the next 30 days, higher than 53.7% of scored vulnerabilities.
Timeline
- 31-03-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
Express OpenID Connect is an Express JS middleware implementing sign on for Express web apps using OpenID Connect. Users of the `requiresAuth` middleware, either directly or through the default `authRequired` option, are vulnerable to an Open Redirect when the middleware is applied to a catch all route. If all routes under `example.com` are protected with the `requiresAuth` middleware, a visit to `http://example.com//google.com` will be redirected to `google.com` after login because the original url reported by the Express framework is not properly sanitized. This vulnerability affects versions prior to 2.7.2. Users are advised to upgrade. There are no known workarounds.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.74%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
0.00 pp
From 0.74% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Auth02 products
- express_openid_connect< 2.7.2
- express-openid-connect< 2.7.2
Npm1 product
- express-openid-connect< 2.7.2
2 vendors · 3 products
References
4 links- github.com/auth0/express-openid-connect/security/advisories/GHSA-7p99-3798-f85cX Refsource CONFIRMWEBThird Party Advisory
- github.com/auth0/express-openid-connect/commit/0947b92164a2c5f661ebcc183d37e7f21de719adX Refsource MISCWEBPatchThird Party Advisory