Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-26877

ApiFest OAuth 2.0 Server 0.3.1 does not validate the redirect URI in accordance with RFC 6749 and is susceptible to an open redirector attack. Specifically, it directly sends an authorization code to the redirect URI submitted with the authorization request, without checking whether the redirect URI is registered by the client who initiated the request. This allows an attacker to craft a request with a manipulated redirect URI (redirect_uri parameter), which is under the attacker's control, and consequently obtain the leaked authorization code when the server redirects the client to the manipulated redirect URI with an authorization code. NOTE: this is similar to CVE-2019-3778.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-26877
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:09 UTC · Revision 1

Source evidence

CVE-2020-26877

core-osv · Original source

Published 29 Jun 2022, 14:15 UTC

ApiFest OAuth 2.0 Server 0.3.1 does not validate the redirect URI in accordance with RFC 6749 and is susceptible to an open redirector attack. Specifically, it directly sends an authorization code to the redirect URI submitted with the authorization request, without checking whether the redirect URI is registered by the client who initiated the request. This allows an attacker to craft a request with a manipulated redirect URI (redirect_uri parameter), which is under the attacker's control, and consequently obtain the leaked authorization code when the server redirects the client to the manipulated redirect URI with an authorization code. NOTE: this is similar to CVE-2019-3778.

osv:CVE-2020-26877
Complete source record
{
  "id": "22d42a799b6664cf74e207bab099c0410d57e7d883a4df71c6a7d1d1335ae96c",
  "url": "https://osv.dev/vulnerability/CVE-2020-26877",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-26877",
    "summary": "ApiFest OAuth 2.0 Server 0.3.1 does not validate the redirect URI in accordance with RFC 6749 and is susceptible to an open redirector attack. Specifically, it directly sends an authorization code to the redirect URI submitted with the authorization request, without checking whether the redirect URI is registered by the client who initiated the request. This allows an attacker to craft a request with a manipulated redirect URI (redirect_uri parameter), which is under the attacker's control, and consequently obtain the leaked authorization code when the server redirects the client to the manipulated redirect URI with an authorization code. NOTE: this is similar to CVE-2019-3778.",
    "evidence": "osv:CVE-2020-26877",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-26877",
      "aliases": [
        "CVE-2020-26877"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apifest/apifest-oauth20",
              "type": "GIT",
              "events": [
                {
                  "introduced": "570247fe409cbf843073daf30302dc3b8d4e6066"
                },
                {
                  "last_affected": "570247fe409cbf843073daf30302dc3b8d4e6066"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apifest:oauth_2.0_server:0.3.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.3.1"
                      },
                      {
                        "last_affected": "0.3.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.3.1",
            "v0.3.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26877.json"
          }
        }
      ],
      "modified": "2026-10-20T10:52:58.613422636Z",
      "provider": "osv",
      "references": [
        "https://github.com/apifest/apifest-oauth20",
        "https://tools.ietf.org/html/rfc6749#section-3.1.2.3"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-26877",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384114,
  "published_at": "2022-06-29T14:15:07.96+00:00"
}