CVE-2020-26938
JSON

7.2high

oauth2-server through 3.1.1 vulnerable to Open Redirect

Severity
7.2high CVSS:3.1 by NVD
Exploit likelihood
1.01% (higher than 64% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-4rg6-fm25-gc34

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
oauth2-server (npm)up to 3.1.1GitHub Advisory Database
oauth2-server_project oauth2-serverup to 3.1.1NVD

All scores

GitHub7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
NVD7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

En oauth2-server (también se conoce como node-oauth2-server) versiones hasta 3.1.1, el valor del parámetro redirect_uri recibido durante la petición de autorización y token es comprobado con un patrón URI incorrecto ("[a-zA-Z][a-zA-Z0-9+.-]+:") antes de realizar un redireccionamiento. Esto permite a un cliente malicioso pasar una carga útil de tipo XSS mediante el parámetro redirect_uri mientras realiza una petición de autorización. NOTA: esta vulnerabilidad es similar a la CVE-2020-7741

References

Sources

SourceRecordLicence
CVE ListCVE-2020-26938 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-4rg6-fm25-gc34 changed 2023-11-08CC-BY-4.0
NVDCVE-2020-26938 changed 2026-06-17Public domain