Open Redirect in Oauth2-Server Project

CVE-2020-26938

In oauth2-server (aka node-oauth2-server) through 3.1.1, the value of the redirect_uri parameter received during the authorization and token request is checked against an incorrect URI pattern ("[a-zA-Z][a-zA-Z0-9+.-]+:") before making a redirection. This allows a malicious client to pass an XSS payload through the redirect_uri parameter while making an authorization request. NOTE: this vulnerability is similar to CVE-2020-7741.

Vulnerability class: Open Redirect

EPSS: 0.008 (51.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-26938?
CVE-2020-26938 is a high-severity vulnerability in Oauth2-Server Project, classified under URL Redirection to Untrusted Site (Open Redirect). CVSS score: 7.2/10. Published 2022-08-29.
How severe is CVE-2020-26938?
High severity. CVSS v3 base score is 7.2 out of 10.
Is CVE-2020-26938 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.