Live threats

All CVEs / Auth0

CVE-2022-24794Auth0 Express Openid Connect

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.8%
probability of exploitation in 30 days · percentile 52
Auth required
No
Published
Mar 31, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-601
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Express Openid Connect.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm express-openid-connect < 2.7.2 2.7.2 npm install express-openid-connect@2.7.2

Per OSV / GitHub Advisories (GHSA-7p99-3798-f85c). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
auth0express_openid_connect< 2.7.2

Official sources

References

Links published by the sources. Open them with care.