Advisory

GHSA-58h4-9m7m-j9m4

Also known as: CVE-2022-3145

Summary

@okta/oidc-middlewareOpen Redirect vulnerability

Details

An open redirect vulnerability exists in Okta OIDC Middleware prior to version 5.0.0 allowing an attacker to redirect a user to an arbitrary URL.

Affected products and versions
Okta OIDC Middleware prior to version 5.0.0.

Resolution
The vulnerability is fixed in OIDC Middleware 5.0.0. To remediate this vulnerability, upgrade Okta OIDC Middleware to this version or later.

CVE details
CVE ID: CVE-2022-3145
Published Date: 01/05/2023
Vulnerability Type: Open Redirect
CWE: CWE-601
CVSS v3.1 Score: 4.3
Severity: Medium
Vector string: AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Severity Details
To exploit this issue, an attacker would need to send a victim a malformed URL containing a target server that they control. Once a user successfully completed the login process, the victim user would then be redirected to the attacker controlled site.

References
https://github.com/okta/okta-oidc-middleware

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-01-09 20:06 UTC
Modified
2026-07-08 06:30 UTC

Affected packages and fixes

@okta/oidc-middleware

npm · All systems

Affected

  • introduced 0, fixed 5.0.0 (semver)

Fixed versions

5.0.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences