High severityNVD Advisory· Published Aug 29, 2022· Updated Aug 4, 2024
CVE-2020-26938
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
oauth2-servernpm | <= 3.1.1 | — |
Affected products
2- oauth2-server/oauth2-serverdescription
Patches
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
7- github.com/advisories/GHSA-4rg6-fm25-gc34ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-26938ghsaADVISORY
- github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/grant-types/authorization-code-grant-type.jsghsax_refsource_MISCWEB
- github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/validator/is.jsghsax_refsource_MISCWEB
- github.com/oauthjs/node-oauth2-server/issues/637ghsax_refsource_MISCWEB
- tools.ietf.org/html/rfc3986ghsax_refsource_MISCWEB
- tools.ietf.org/html/rfc6749ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.