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
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.010, 63.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cve-scores, Live-Hack-CVE/CVE-2020-26938). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/oauthjs/node-oauth2-server/issues/637 (Third Party Advisory, Issue Tracking)
- github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd4… (Exploit, Third Party Advisory)
- github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd4… (Exploit, Third Party Advisory)
- tools.ietf.org/html/rfc3986 (Third Party Advisory)
- tools.ietf.org/html/rfc6749 (Third Party Advisory)