{"cve":"CVE-2020-26938","nvd":{"published":"2022-08-29T21:15:08.863","modified":"2026-06-17T03:08:34.977","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2},"cwes":["CWE-601"],"references":["https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/grant-types/authorization-code-grant-type.js#L143","https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/validator/is.js#L12","https://github.com/oauthjs/node-oauth2-server/issues/637","https://tools.ietf.org/html/rfc3986#section-3","https://tools.ietf.org/html/rfc6749#section-3.1.2"],"products":["oauth2-server_project:oauth2-server"],"source":"nvd","synced_at":"2026-10-19T21:35:14.992143698+00:00"},"epss":{"cve":"CVE-2020-26938","score":0.00986,"percentile":0.62401,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4rg6-fm25-gc34","url":"https://osv.dev/vulnerability/GHSA-4rg6-fm25-gc34","summary":"oauth2-server through 3.1.1 vulnerable to Open Redirect","modified":"2023-11-08T04:03:20.585885Z","packages":[{"ecosystem":"npm","name":"oauth2-server","purl":"pkg:npm/oauth2-server","ranges":["<=3.1.1"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}