Skip to content
Heist/ feed
Back to feed
Medium

Open Redirect in gradio-app/gradio

Type: advisorySources: OSV

An open redirect vulnerability exists in the gradio-app/gradio, affecting the latest version. The vulnerability allows an attacker to redirect users to arbitrary websites, which can be exploited for phishing attacks, Cross-site Scripting (XSS), Server-Side Request Forgery (SSRF), amongst others. This issue is due to improper validation of user-supplied input in the handling of URLs. Attackers can exploit this vulnerability by crafting a malicious URL that, when processed by the application, redirects the user to an attacker-controlled web page.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-4940
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 14:36 UTC · Revision 1

Source evidence

Open Redirect in gradio-app/gradio

core-osv · Original source

Published 22 Jun 2024, 05:23 UTC

An open redirect vulnerability exists in the gradio-app/gradio, affecting the latest version. The vulnerability allows an attacker to redirect users to arbitrary websites, which can be exploited for phishing attacks, Cross-site Scripting (XSS), Server-Side Request Forgery (SSRF), amongst others. This issue is due to improper validation of user-supplied input in the handling of URLs. Attackers can exploit this vulnerability by crafting a malicious URL that, when processed by the application, redirects the user to an attacker-controlled web page.

osv:CVE-2024-4940
Complete source record
{
  "id": "4d48e1b7f09647ea6d6ccc6f90cf8c383213697ca8418174ab535ccbdd19b899",
  "url": "https://osv.dev/vulnerability/CVE-2024-4940",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Open Redirect in gradio-app/gradio",
    "summary": "An open redirect vulnerability exists in the gradio-app/gradio, affecting the latest version. The vulnerability allows an attacker to redirect users to arbitrary websites, which can be exploited for phishing attacks, Cross-site Scripting (XSS), Server-Side Request Forgery (SSRF), amongst others. This issue is due to improper validation of user-supplied input in the handling of URLs. Attackers can exploit this vulnerability by crafting a malicious URL that, when processed by the application, redirects the user to an attacker-controlled web page.",
    "evidence": "osv:CVE-2024-4940",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-4940",
      "aliases": [
        "CVE-2024-4940",
        "GHSA-g6c9-f4xm-9j4x",
        "PYSEC-2026-1414"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gradio-app/gradio",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a2cd8a9838864596318a686510f15e7998a27880"
                },
                {
                  "last_affected": "a2cd8a9838864596318a686510f15e7998a27880"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gradio_project:gradio:4.36.0:*:*:*:*:python:*:*",
                    "range": [
                      {
                        "introduced": "4.36.0"
                      },
                      {
                        "last_affected": "4.36.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.36.0",
            "gradio@4.36.0",
            "@gradio/lite@4.36.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-4940.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.544732218Z",
      "provider": "osv",
      "references": [
        "https://huntr.com/bounties/35aaea93-6895-4f03-9c1b-cd992665aa60",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4940.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-4940"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-601"
        ],
        "cna_assigner": "@huntr_ai",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4940.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-4940",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496431,
  "published_at": "2024-06-22T05:23:49.761+00:00"
}