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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: GitHub_M
Published: 2022-03-31T22:45:14
Updated: 2024-08-03T04:20:50.427Z
Reserved: 2022-02-10T00:00:00
Link: CVE-2022-24794
Vulnrichment
No data.
NVD
Status : Modified
Published: 2022-03-31T23:15:08.127
Modified: 2024-11-21T06:51:06.703
Link: CVE-2022-24794
Redhat
No data.