{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2020-26938","published":"2022-08-29T21:15:08.863000Z","last_modified":"2026-06-17T03:08:34.977000Z","status":"Modified","cvss":{"version":"3.1","score":7.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-601"],"cpes":[{"criteria":"cpe:2.3:a:oauth2-server_project:oauth2-server:*:*:*:*:*:node.js:*:*","part":"a","vendor":"oauth2-server_project","product":"oauth2-server","version_end_including":"3.1.1"}],"cpes_truncated":false,"vendors":["oauth2-server_project"],"products":["oauth2-server_project/oauth2-server"],"epss":{"score":0.01015,"percentile":0.64235,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4rg6-fm25-gc34","ecosystem":"npm","name":"oauth2-server","purl":"pkg:npm/oauth2-server","ranges":[{"introduced":"0","last_affected":"3.1.1"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":58,"links":{"html_es":"/es/cve/CVE-2020-26938/","html_en":"/en/cve/CVE-2020-26938/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-26938","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-26938"},"untrusted":{"vendor_name":"Oauth2-server Project","product_name":"Oauth2-server","desc_en":"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":[],"references":[{"url":"https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/grant-types/authorization-code-grant-type.js#L143","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/validator/is.js#L12","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/oauthjs/node-oauth2-server/issues/637","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://tools.ietf.org/html/rfc3986#section-3","tags":["Third Party Advisory"]},{"url":"https://tools.ietf.org/html/rfc6749#section-3.1.2","tags":["Third Party Advisory"]}]}}