{"api_version":"1","generated_at":"2026-07-24T20:10:13+00:00","cve":"CVE-2020-26938","urls":{"html":"https://cve.report/CVE-2020-26938","api":"https://cve.report/api/cve/CVE-2020-26938.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-26938","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-26938"},"summary":{"title":"CVE-2020-26938","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2022-08-29 21:15:00","updated_at":"2022-09-07 20:15:00"},"problem_types":["CWE-601"],"metrics":[],"references":[{"url":"https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/grant-types/authorization-code-grant-type.js#L143","name":"https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/grant-types/authorization-code-grant-type.js#L143","refsource":"MISC","tags":[],"title":"node-oauth2-server/authorization-code-grant-type.js at 91d2cbe70a0eddc53d72def96864e2de0fd41703 · oauthjs/node-oauth2-server · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://tools.ietf.org/html/rfc3986#section-3","name":"https://tools.ietf.org/html/rfc3986#section-3","refsource":"MISC","tags":[],"title":"RFC 3986 - Uniform Resource Identifier (URI): Generic Syntax","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/validator/is.js#L12","name":"https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/validator/is.js#L12","refsource":"MISC","tags":[],"title":"node-oauth2-server/is.js at 91d2cbe70a0eddc53d72def96864e2de0fd41703 · oauthjs/node-oauth2-server · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/oauthjs/node-oauth2-server/issues/637","name":"https://github.com/oauthjs/node-oauth2-server/issues/637","refsource":"MISC","tags":[],"title":"Multiple Security Vulnerabilities in Auth and Token Endpoint · Issue #637 · oauthjs/node-oauth2-server · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://tools.ietf.org/html/rfc6749#section-3.1.2","name":"https://tools.ietf.org/html/rfc6749#section-3.1.2","refsource":"MISC","tags":[],"title":"RFC 6749 - The OAuth 2.0 Authorization Framework","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-26938","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26938","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"26938","vulnerable":"1","versionEndIncluding":"3.1.1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oauth2-server_project","cpe5":"oauth2-server","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2020-26938","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://github.com/oauthjs/node-oauth2-server/issues/637","url":"https://github.com/oauthjs/node-oauth2-server/issues/637"},{"url":"https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/validator/is.js#L12","refsource":"MISC","name":"https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/validator/is.js#L12"},{"url":"https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/grant-types/authorization-code-grant-type.js#L143","refsource":"MISC","name":"https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/grant-types/authorization-code-grant-type.js#L143"},{"url":"https://tools.ietf.org/html/rfc3986#section-3","refsource":"MISC","name":"https://tools.ietf.org/html/rfc3986#section-3"},{"url":"https://tools.ietf.org/html/rfc6749#section-3.1.2","refsource":"MISC","name":"https://tools.ietf.org/html/rfc6749#section-3.1.2"}]}},"nvd":{"publishedDate":"2022-08-29 21:15:00","lastModifiedDate":"2022-09-07 20:15:00","problem_types":["CWE-601"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":7.2,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oauth2-server_project:oauth2-server:*:*:*:*:*:node.js:*:*","versionEndIncluding":"3.1.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"26938","Ordinal":"188372","Title":"CVE-2020-26938","CVE":"CVE-2020-26938","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"26938","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}