CVE-2020-26938 oauth2-server through 3.1.1 vulnerable to Open Redirect
A malicious client can bypass redirect URI validation in node-oauth2-server, potentially enabling XSS or phishing attacks via crafted authorization requests.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-26938?
CVE-2020-26938 is a high-severity vulnerability in n/a, published on 29 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-601
Which versions are affected by CVE-2020-26938?
2 open source packages ship an affected version, including oauth2-server. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
oauth2-server npm | All versions to 3.1.1 | None |
oauth2-server npm | All versions to 3.1.1 | None |
Products include Oauth2-Server Project Oauth2-Server.
How do I fix CVE-2020-26938?
No fix has been published for CVE-2020-26938 yet. Limit exposure of the affected software until one is available.
Is CVE-2020-26938 being exploited?
There is no known exploitation of CVE-2020-26938 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-4rg6-fm25-gc34.