CVE-2022-24794: Open Redirect in express-openid-connect

Published Mar 31, 2022
·
Updated

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.

Affected Software

1 affected component
Auth0 Express Openid Connect Node.js<2.7.2

Event History

Mar 31, 2022
CVE Published
via MITRE·10:45 PM
Data Sourced
via MITRE·10:45 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2022-24794?

CVE-2022-24794 is classified as a high severity vulnerability due to the potential for open redirect attacks that could be exploited by malicious users.

2

How do I fix CVE-2022-24794?

To fix CVE-2022-24794, update the Auth0 Express OpenID Connect middleware to version 2.7.2 or later.

3

What type of vulnerability is CVE-2022-24794?

CVE-2022-24794 is an Open Redirect vulnerability affecting the requiresAuth middleware in the Auth0 Express OpenID Connect package.

4

Who is affected by CVE-2022-24794?

Users of the Auth0 Express OpenID Connect middleware version prior to 2.7.2 are affected by CVE-2022-24794.

5

What applications are impacted by CVE-2022-24794?

Web applications using the Auth0 Express OpenID Connect middleware with the requiresAuth implementation are impacted by CVE-2022-24794.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203